diff options
Diffstat (limited to 'pyload/Database/Backend.py')
-rw-r--r-- | pyload/Database/Backend.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/Database/Backend.py b/pyload/Database/Backend.py index 0fc961973..622880e65 100644 --- a/pyload/Database/Backend.py +++ b/pyload/Database/Backend.py @@ -8,12 +8,11 @@ try: except Exception: import sqlite3 +import Queue import shutil import threading import traceback -from Queue import Queue - from pyload.utils import chmod @@ -122,7 +121,7 @@ class DatabaseBackend(threading.Thread): self.setDaemon(True) self.core = core - self.jobs = Queue() + self.jobs = Queue.Queue() self.setuplock = threading.Event() |