summaryrefslogtreecommitdiffstats
path: root/module/network/XDCCBase.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-01-30 16:20:37 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-01-30 16:20:37 +0100
commitf96a5a1cf8800edc2f6a6d73316f7d7c67f32e29 (patch)
tree3081be7874ac1594e1ab4b9c58f2de503acac0b5 /module/network/XDCCBase.py
parentfixed ssl xmlrpc backend (diff)
downloadpyload-f96a5a1cf8800edc2f6a6d73316f7d7c67f32e29.tar.xz
cleanup code
Diffstat (limited to 'module/network/XDCCBase.py')
-rw-r--r--module/network/XDCCBase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/network/XDCCBase.py b/module/network/XDCCBase.py
index d36d6e897..1b9da1a23 100644
--- a/module/network/XDCCBase.py
+++ b/module/network/XDCCBase.py
@@ -247,7 +247,7 @@ class XDCCDownload():
raise XDCCError("Wrong channel")
m = re.match('\x01DCC SEND (.*?) (\d+) (\d+)(?: (\d+))?\x01', msg["text"])
- if m != None:
+ if m is not None:
done = True
# get connection data