mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-28 19:10:35 +00:00
fix wizard not working if firstrun file is already created
This commit is contained in:
parent
efc8179261
commit
d7c7222d4f
@ -292,7 +292,10 @@ class WizardGTK:
|
|||||||
saves configuration settings
|
saves configuration settings
|
||||||
"""
|
"""
|
||||||
import gtk
|
import gtk
|
||||||
self.create_file()
|
try:
|
||||||
|
self.create_file()
|
||||||
|
except:
|
||||||
|
pass
|
||||||
self.config.set("random_port", self.wtree.get_widget('chk_random_ports'\
|
self.config.set("random_port", self.wtree.get_widget('chk_random_ports'\
|
||||||
).get_active())
|
).get_active())
|
||||||
self.config.set("listen_on", [self.wtree.get_widget("spin_port_min")\
|
self.config.set("listen_on", [self.wtree.get_widget("spin_port_min")\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user