summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/config/default.conf2
-rw-r--r--module/database/DatabaseBackend.py1
-rw-r--r--module/plugins/hoster/FileserveCom.py10
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()