summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar Jeix <devnull@localhost> 2010-06-17 22:25:47 +0200
committerGravatar Jeix <devnull@localhost> 2010-06-17 22:25:47 +0200
commit9faadf1cb4990a85aacf5bced8b6842913149719 (patch)
treeef1b9cb58bfb387fc1c068d8fe266c084dc430a8 /module/plugins
parentlinklist fix (diff)
downloadpyload-9faadf1cb4990a85aacf5bced8b6842913149719.tar.xz
fix linklist.py
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/container/LinkList.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/container/LinkList.py b/module/plugins/container/LinkList.py
index ffcf37ae0..6cc30ecc6 100644
--- a/module/plugins/container/LinkList.py
+++ b/module/plugins/container/LinkList.py
@@ -3,6 +3,7 @@
from module.plugins.Container import Container
+from os import linesep
class LinkList(Container):
__name__ = "LinkList"
@@ -28,7 +29,7 @@ class LinkList(Container):
link = link.strip()
if link.startswith(";"):
continue
- if link.startswith("[") and link.endswith("]\n"):
+ if link.startswith("[") and link.endswith("]"):
# new package
curPack = link[1:-2]
packages[curPack] = []