diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-03 14:49:16 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-03 14:49:16 +0200 |
commit | 3ef26c71cb3c23a876b95af77f6541c06227a937 (patch) | |
tree | 481462718d3c99410cad9dd4e8ffab7eed8e1f6f /module/FileDatabase.py | |
parent | share-online premium fix (revert to old design, coz new one is still buggy) (diff) | |
download | pyload-3ef26c71cb3c23a876b95af77f6541c06227a937.tar.xz |
Diffstat (limited to 'module/FileDatabase.py')
-rw-r--r-- | module/FileDatabase.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/module/FileDatabase.py b/module/FileDatabase.py index 4f1c1a541..793a4a69e 100644 --- a/module/FileDatabase.py +++ b/module/FileDatabase.py @@ -20,7 +20,6 @@ from Queue import Queue from os import remove from os.path import exists from shutil import move -import sqlite3 from threading import Lock from threading import RLock from threading import Thread @@ -33,6 +32,10 @@ from module.PullEvents import ReloadAllEvent from module.PullEvents import RemoveEvent from module.PullEvents import UpdateEvent +try: + from pysqlite2 import dbapi2 as sqlite3 +except: + import sqlite3 DB_VERSION = 2 |