diff options
-rw-r--r-- | pyload/database/Backend.py | 4 |
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): |