From 9faadf1cb4990a85aacf5bced8b6842913149719 Mon Sep 17 00:00:00 2001 From: Jeix Date: Thu, 17 Jun 2010 22:25:47 +0200 Subject: fix linklist.py --- module/plugins/container/LinkList.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'module') 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] = [] -- cgit v1.2.3