Skip to content

Commit

Permalink
hotfix missing glossary crash
Browse files Browse the repository at this point in the history
  • Loading branch information
VoxelCubes committed Sep 3, 2022
1 parent bcde7c3 commit ee0277d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepqt/driver_mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ def load_glossary(self):
"""
path = Path(self.config.glossary_path)

if not path.exists():
if not path.is_file():
logger.warning(f"Glossary file not found: {path}")
self.statusbar.showMessage(f"Glossary file not found.", 10_000)
return
Expand Down

0 comments on commit ee0277d

Please sign in to comment.