summaryrefslogtreecommitdiffstats
path: root/module/database
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2011-06-10 13:09:33 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2011-06-10 13:09:33 +0200
commita40cf88920e94490d5c851fb273b8d2f48aef6fb (patch)
tree8de448bbf50535901a35a26c2a145403ed166107 /module/database
parenternieb's rapidshare patch (diff)
downloadpyload-a40cf88920e94490d5c851fb273b8d2f48aef6fb.tar.xz
ernieb's hoster patches
Diffstat (limited to 'module/database')
-rw-r--r--module/database/DatabaseBackend.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/database/DatabaseBackend.py b/module/database/DatabaseBackend.py
index c147aa018..9f5e86fb7 100644
--- a/module/database/DatabaseBackend.py
+++ b/module/database/DatabaseBackend.py
@@ -130,6 +130,7 @@ 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