summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar spoob <spoob@gmx.de> 2009-12-20 23:58:28 +0100
committerGravatar spoob <spoob@gmx.de> 2009-12-20 23:58:28 +0100
commit39969ffd4b5a6db766ca07d52b870055f76e4d9e (patch)
tree6bc00962aa9945c8db60ec9befbf1d26569cb8f8 /module/plugins
parentfile_list... (diff)
downloadpyload-39969ffd4b5a6db766ca07d52b870055f76e4d9e.tar.xz
Normal linklist plugin
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/LinkList.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/module/plugins/LinkList.py b/module/plugins/LinkList.py
index fc737e8c5..92508ce29 100644
--- a/module/plugins/LinkList.py
+++ b/module/plugins/LinkList.py
@@ -29,11 +29,11 @@ class LinkList(Plugin):
if link != "\n":
tmpLinks.append(link.replace("\n", ""))
txt.close()
-#~
- #~ if not self.parent.core.config['general']['debug_mode']:
- #~ txt = open(linkList, 'w')
- #~ txt.write("")
- #~ txt.close()
+
+ if not self.parent.core.config['general']['debug_mode']:
+ txt = open(linkList, 'w')
+ txt.write("")
+ txt.close()
#@TODO: maybe delete read txt file?
self.links = tmpLinks