diff options
-rw-r--r-- | module/plugins/container/LinkList.py | 3 |
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] = [] |