Tried to fix windows import issue.
This commit is contained in:
parent
93aad9919d
commit
1009cc7eb5
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
|
@ -332,7 +332,7 @@ class MainWindow(QtGui.QMainWindow, CommandBase):
|
||||||
settings_valid = True
|
settings_valid = True
|
||||||
for sgroup in self.settings['setting_groups']:
|
for sgroup in self.settings['setting_groups']:
|
||||||
for sname, setting in sgroup.items():
|
for sname, setting in sgroup.items():
|
||||||
if os.path.isabs(setting.value):
|
if setting.type in set(['file', 'folder']) and os.path.isabs(setting.value):
|
||||||
setting_path = unicode(setting.value)
|
setting_path = unicode(setting.value)
|
||||||
else:
|
else:
|
||||||
setting_path = utils.path_join(self.project_dir(),
|
setting_path = utils.path_join(self.project_dir(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue