summaryrefslogtreecommitdiffstats
path: root/pyload/database/Backend.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-22 21:27:47 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-22 21:27:47 +0200
commit674b2a24f90b3cbf50630ddfdfb6c2b356a7bf7b (patch)
tree24a575f4c7319a3f9048718a08094bb510f72603 /pyload/database/Backend.py
parentSpare code cosmetics (10) (diff)
parentlittle fix (diff)
downloadpyload-674b2a24f90b3cbf50630ddfdfb6c2b356a7bf7b.tar.xz
Merge pull request #11 from ardi69/0.4.10
some fixes
Diffstat (limited to 'pyload/database/Backend.py')
-rw-r--r--pyload/database/Backend.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/database/Backend.py b/pyload/database/Backend.py
index e851885c0..1fa7a654c 100644
--- a/pyload/database/Backend.py
+++ b/pyload/database/Backend.py
@@ -186,11 +186,11 @@ class DatabaseBackend(Thread):
print "Filedatabase was deleted due to incompatible version."
remove("files.version")
move("files.db", "files.backup.db")
-
+
with open("files.version", "wb") as f:
f.write(str(DB_VERSION))
- return v
+ return v
def _convertDB(self, v):