Changeset 92e7048e21dc…
Parent 2ce3df7f4f68…
by
Changes to one file · Browse files at 92e7048e21dc Showing diff from parent 2ce3df7f4f68 Diff from another changeset...
@@ -270,6 +270,8 @@ # Note that we must make sure that the settings file exists before
# setting thefile watcher
if not os.path.exists(sfile):
+ if not os.path.exists(os.path.dirname(sfile)):
+ os.makedirs(os.path.dirname(sfile))
tv.model().write(sfile)
self.watcher = QFileSystemWatcher(self)
self.watcher.addPath(sfile)
|
Loading...