summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar spoob <spoob@gmx.de> 2009-12-09 22:14:56 +0100
committerGravatar spoob <spoob@gmx.de> 2009-12-09 22:14:56 +0100
commit0efe5e5cea1ce7658256d1826ab12c3ceb9a8e83 (patch)
treeb3d823310464ce94250c757e6489829388b6292d
parentclean + merge (diff)
downloadpyload-0efe5e5cea1ce7658256d1826ab12c3ceb9a8e83.tar.xz
DLC fixed
-rw-r--r--config2
-rw-r--r--module/plugins/DLC.pycbin2231 -> 5829 bytes
-rw-r--r--module/plugins/LinkList.py11
3 files changed, 7 insertions, 6 deletions
diff --git a/config b/config
index c593674f6..956eac6ad 100644
--- a/config
+++ b/config
@@ -5,7 +5,7 @@ username = admin
password = pwhere
[ssl]
-activated = False
+activated = True
cert = ssl.crt
key = ssl.key
diff --git a/module/plugins/DLC.pyc b/module/plugins/DLC.pyc
index 980dd8ace..879e679fc 100644
--- a/module/plugins/DLC.pyc
+++ b/module/plugins/DLC.pyc
Binary files differ
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