diff options
| author | 2011-06-10 13:09:33 +0200 | |
|---|---|---|
| committer | 2011-06-10 13:09:33 +0200 | |
| commit | a40cf88920e94490d5c851fb273b8d2f48aef6fb (patch) | |
| tree | 8de448bbf50535901a35a26c2a145403ed166107 /module/database | |
| parent | ernieb's rapidshare patch (diff) | |
| download | pyload-a40cf88920e94490d5c851fb273b8d2f48aef6fb.tar.xz | |
ernieb's hoster patches
Diffstat (limited to 'module/database')
| -rw-r--r-- | module/database/DatabaseBackend.py | 1 |
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 |
