diff options
Diffstat (limited to 'module/plugins/LinkList.py')
-rw-r--r-- | module/plugins/LinkList.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/module/plugins/LinkList.py b/module/plugins/LinkList.py index e496f2a57..c934ca464 100644 --- a/module/plugins/LinkList.py +++ b/module/plugins/LinkList.py @@ -35,10 +35,11 @@ class LinkList(Plugin): if link != "\n": tmpLinks.append(link) txt.close() - - txt = open(linkList, 'w') - txt.write("") - txt.close() - #may delete read txt file? + + if not self.parent.core.config['general']['debug_mode']: + txt = open(linkList, 'w') + txt.write("") + txt.close() + #may delete read txt file? self.links = tmpLinks |