mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-22 04:24:51 +00:00
fix wizard not working if firstrun file is already created
This commit is contained in:
parent
efc8179261
commit
d7c7222d4f
1 changed files with 4 additions and 1 deletions
|
@ -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")\
|
||||
|
|
Loading…
Add table
Reference in a new issue