Reset artwork sync status in PKC settings on DB reset
This commit is contained in:
parent
2191f59092
commit
1a261a3b9e
1 changed files with 3 additions and 1 deletions
|
@ -435,7 +435,9 @@ def wipe_database():
|
||||||
cursor.execute("DELETE FROM %s" % table_name)
|
cursor.execute("DELETE FROM %s" % table_name)
|
||||||
connection.commit()
|
connection.commit()
|
||||||
cursor.close()
|
cursor.close()
|
||||||
|
# Reset the artwork sync status in the PKC settings
|
||||||
|
settings('caching_major_artwork', value=language(39310))
|
||||||
|
settings('fanarttv_lookups', value=language(39310))
|
||||||
# reset the install run flag
|
# reset the install run flag
|
||||||
settings('SyncInstallRunDone', value="false")
|
settings('SyncInstallRunDone', value="false")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue