move DB reset function to the databse file

use the new DB connection context for all DB reset actions
This commit is contained in:
shaun 2016-11-05 11:15:28 +11:00
commit d3ce04ab10
4 changed files with 102 additions and 98 deletions

View file

@ -933,7 +933,7 @@ class LibrarySync(threading.Thread):
log.warn("Database version is out of date! USER IGNORED!")
dialog.ok(lang(29999), lang(33023))
else:
utils.reset()
database.db_reset()
break