cosmetic touchup
This commit is contained in:
parent
98c6ab7137
commit
83d45c4626
|
@ -850,7 +850,9 @@ class Manager:
|
|||
if self.get_pref("random_port") == False:
|
||||
PREF_FUNCTIONS[pref](self.get_pref(pref))
|
||||
else:
|
||||
if deluge_core.listening_port() != 0 and deluge_core.listening_port() != self.get_pref("listen_on")[0] and deluge_core.listening_port() != self.get_pref("listen_on")[1]:
|
||||
if deluge_core.listening_port() != 0 and \
|
||||
deluge_core.listening_port() != self.get_pref("listen_on")[0] \
|
||||
and deluge_core.listening_port() != self.get_pref("listen_on")[1]:
|
||||
pass
|
||||
else:
|
||||
import random
|
||||
|
|
Loading…
Reference in New Issue