From d7c7222d4f2128bf2cdbdf0512cceb4b38e17ee4 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Mon, 12 Nov 2007 05:49:26 +0000 Subject: [PATCH] fix wizard not working if firstrun file is already created --- src/wizard.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/wizard.py b/src/wizard.py index ff1206452..613a61ee0 100644 --- a/src/wizard.py +++ b/src/wizard.py @@ -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")\