diff options
| author | 2015-04-22 21:27:47 +0200 | |
|---|---|---|
| committer | 2015-04-22 21:27:47 +0200 | |
| commit | 674b2a24f90b3cbf50630ddfdfb6c2b356a7bf7b (patch) | |
| tree | 24a575f4c7319a3f9048718a08094bb510f72603 /pyload/database/Backend.py | |
| parent | Spare code cosmetics (10) (diff) | |
| parent | little fix (diff) | |
| download | pyload-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.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): |
