mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
parent
a00c52fd69
commit
f640fc9618
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ def backupDatabase(version):
|
||||||
|
|
||||||
class InitialSchema(nzbToMediaDB.SchemaUpgrade):
|
class InitialSchema(nzbToMediaDB.SchemaUpgrade):
|
||||||
def test(self):
|
def test(self):
|
||||||
no_update = True
|
no_update = False
|
||||||
if self.hasTable("db_version"):
|
if self.hasTable("db_version"):
|
||||||
cur_db_version = self.checkDBVersion()
|
cur_db_version = self.checkDBVersion()
|
||||||
no_update = not cur_db_version < MAX_DB_VERSION
|
no_update = not cur_db_version < MAX_DB_VERSION
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue