fix wizard not working if firstrun file is already created

This commit is contained in:
Marcos Pinto 2007-11-12 05:49:26 +00:00
parent efc8179261
commit d7c7222d4f

View File

@ -292,7 +292,10 @@ class WizardGTK:
saves configuration settings
"""
import gtk
self.create_file()
try:
self.create_file()
except:
pass
self.config.set("random_port", self.wtree.get_widget('chk_random_ports'\
).get_active())
self.config.set("listen_on", [self.wtree.get_widget("spin_port_min")\