Tried to fix windows import issue.
This commit is contained in:
parent
cf1c55d30f
commit
93aad9919d
2 changed files with 7 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
'''Command line module for web2exe.'''
|
'''Command line module for web2exe.'''
|
||||||
|
|
||||||
__version__ = "v0.2.8b"
|
__version__ = "v0.2.9b"
|
||||||
|
|
||||||
import ssl
|
import ssl
|
||||||
|
|
||||||
|
|
|
||||||
5
main.py
5
main.py
|
|
@ -332,6 +332,9 @@ 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):
|
||||||
|
setting_path = unicode(setting.value)
|
||||||
|
else:
|
||||||
setting_path = utils.path_join(self.project_dir(),
|
setting_path = utils.path_join(self.project_dir(),
|
||||||
unicode(setting.value))
|
unicode(setting.value))
|
||||||
|
|
||||||
|
|
@ -365,7 +368,7 @@ class MainWindow(QtGui.QMainWindow, CommandBase):
|
||||||
widget = self.find_child_by_name(setting.name)
|
widget = self.find_child_by_name(setting.name)
|
||||||
if widget is not None:
|
if widget is not None:
|
||||||
widget.setStyleSheet(red_border)
|
widget.setStyleSheet(red_border)
|
||||||
widget.setToolTip(u'The folder "{}" does not exist'.format(utils.path_join(self.project_dir(), setting.value)))
|
widget.setToolTip(u'The folder "{}" does not exist'.format(setting_path))
|
||||||
tab = self.get_tab_index_for_setting_name(setting.name)
|
tab = self.get_tab_index_for_setting_name(setting.name)
|
||||||
self.tab_widget.setTabIcon(tab, self.warning_settings_icon)
|
self.tab_widget.setTabIcon(tab, self.warning_settings_icon)
|
||||||
if settings_valid:
|
if settings_valid:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue