mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-21 09:38:44 +00:00
fix major oops
This commit is contained in:
parent
267ba8f7ac
commit
a1534878c7
1 changed files with 1 additions and 2 deletions
|
@ -845,8 +845,7 @@ class Manager:
|
||||||
print "Applying preferences"
|
print "Applying preferences"
|
||||||
|
|
||||||
for pref in PREF_FUNCTIONS:
|
for pref in PREF_FUNCTIONS:
|
||||||
if PREF_FUNCTIONS[pref] is not None and self.get_pref("random_port") \
|
if PREF_FUNCTIONS[pref] is not None:
|
||||||
== False:
|
|
||||||
PREF_FUNCTIONS[pref](self.get_pref(pref))
|
PREF_FUNCTIONS[pref](self.get_pref(pref))
|
||||||
if self.get_pref("random_port"):
|
if self.get_pref("random_port"):
|
||||||
import random
|
import random
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue