From 36dcfaddb0a3cf46330566b1c07bfbfba7638e2c Mon Sep 17 00:00:00 2001 From: RaNaN Date: Fri, 10 Jun 2011 16:11:24 +0200 Subject: revert unintentional changes --- module/config/default.conf | 2 +- module/database/DatabaseBackend.py | 1 - module/plugins/hoster/FileserveCom.py | 10 ++++------ 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/module/config/default.conf b/module/config/default.conf index b3cc54640..630fcb9ba 100644 --- a/module/config/default.conf +++ b/module/config/default.conf @@ -11,7 +11,7 @@ ssl - "SSL": file key : "SSL Key" = ssl.key webinterface - "Webinterface": bool activated : "Activated" = True - builtin;threaded;fastcgi;lightweight server : "Server" = builtin + builtin;threaded;fastcgi server : "Server" = builtin bool https : "Use HTTPS" = False ip host : "IP" = 0.0.0.0 int port : "Port" = 8001 diff --git a/module/database/DatabaseBackend.py b/module/database/DatabaseBackend.py index 9f5e86fb7..c147aa018 100644 --- a/module/database/DatabaseBackend.py +++ b/module/database/DatabaseBackend.py @@ -130,7 +130,6 @@ class DatabaseBackend(Thread): convert = self._checkVersion() #returns None or current version self.conn = sqlite3.connect("files.db") - self.conn.text_factory = str chmod("files.db", 0600) self.c = self.conn.cursor() #compatibility diff --git a/module/plugins/hoster/FileserveCom.py b/module/plugins/hoster/FileserveCom.py index 9b853dc3c..102f992b0 100644 --- a/module/plugins/hoster/FileserveCom.py +++ b/module/plugins/hoster/FileserveCom.py @@ -53,12 +53,10 @@ class FileserveCom(Hoster): LONG_WAIT_PATTERN = r"You need to wait (\d+) seconds to start another download" def init(self): - self.multiDL = False - if self.account: - self.premium = self.account.getAccountInfo(self.user)["premium"] - if not self.premium: - self.resumeDownload = False - self.chunkLimit = 1 + if not self.premium: + self.multiDL = False + self.resumeDownload = False + self.chunkLimit = 1 def process(self, pyfile): self.checkFile() -- cgit v1.2.3