better checking before launching local help

This commit is contained in:
Veronica K. B. Olsen
2020-08-08 14:58:19 +02:00
parent 49bd828be0
commit 6bcf46191d
3 changed files with 19 additions and 8 deletions
+1
View File
@@ -321,6 +321,7 @@ class Config:
# Check if local help files exist
self.helpPath = path.join(self.assetPath, "help", "novelWriter.qhc")
self.hasHelp = path.isfile(self.helpPath)
self.hasHelp &= path.isfile(path.join(self.assetPath, "help", "novelWriter.qch"))
logger.debug("Config initialisation complete")