summaryrefslogtreecommitdiffstats
path: root/pyload/database/Storage.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-10 17:01:05 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-10 17:01:05 +0200
commit8606b72470e0e506d9da26f190a2880d47d289a4 (patch)
tree6225bba54bafb655ca969a1287673807c7c2d131 /pyload/database/Storage.py
parentMerge branch 'stable' into 0.4.10 (diff)
downloadpyload-8606b72470e0e506d9da26f190a2880d47d289a4.tar.xz
Improve and fix file structure a bit
Diffstat (limited to 'pyload/database/Storage.py')
-rw-r--r--pyload/database/Storage.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/database/Storage.py b/pyload/database/Storage.py
index 70932b55c..a19f67606 100644
--- a/pyload/database/Storage.py
+++ b/pyload/database/Storage.py
@@ -1,13 +1,12 @@
# -*- coding: utf-8 -*-
# @author: mkaay
-from pyload.database import style
-from pyload.database import DatabaseBackend
+from pyload.Database import style
+from pyload.Database import DatabaseBackend
class StorageMethods(object):
-
@style.queue
def setStorage(db, identifier, key, value):
db.c.execute("SELECT id FROM storage WHERE identifier=? AND key=?", (identifier, key))