From 83d45c4626b9ff11a94e236aa378f00fc5dcda9f Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Sat, 28 Jul 2007 21:14:32 +0000 Subject: [PATCH] cosmetic touchup --- src/core.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core.py b/src/core.py index 784e44ae2..279a08a86 100644 --- a/src/core.py +++ b/src/core.py @@ -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