Make the common module a little simpler

This commit is contained in:
Veronica Berglyd Olsen
2022-10-19 22:10:23 +02:00
parent efb7d12e1d
commit cfe11f7b54
3 changed files with 106 additions and 139 deletions
+2 -2
View File
@@ -306,8 +306,8 @@ class Config:
# We don't error on these failing since they are not essential
if self.dataPath is not None:
ensureFolder("syntax", parentPath=self.dataPath)
ensureFolder("themes", parentPath=self.dataPath)
ensureFolder("syntax", parent=self.dataPath)
ensureFolder("themes", parent=self.dataPath)
# Check if config file exists
if self.confPath is not None: