diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-05-09 23:24:08 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-05-09 23:24:08 +0200 |
commit | a677c082aeabba00a079db581bfae194d069cf11 (patch) | |
tree | 5fa099c37aa241f9a0ef7ba6d2994b01d9e1df2f /pyload/database | |
parent | Remove old .pot files (diff) | |
download | pyload-a677c082aeabba00a079db581bfae194d069cf11.tar.xz |
Fix https://github.com/pyload/pyload/issues/1406
Diffstat (limited to 'pyload/database')
-rw-r--r-- | pyload/database/Backend.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyload/database/Backend.py b/pyload/database/Backend.py index 9acca287c..3262e6155 100644 --- a/pyload/database/Backend.py +++ b/pyload/database/Backend.py @@ -115,12 +115,12 @@ class DatabaseJob(object): self.done.wait() -class DatabaseBackend(Thread): +class DatabaseBackend(threading.Thread): subs = [] def __init__(self, core): - Thread.__init__(self) + threading.Thread.__init__(self) self.setDaemon(True) self.core = core @@ -322,7 +322,7 @@ class DatabaseBackend(Thread): @classmethod def unregisterSub(cls, klass): - cls.subs.reshutil.move(klass) + cls.subs.remove(klass) def __getattr__(self, attr): |