1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Fixed bug when rebuilding the database

This commit is contained in:
Krateng 2019-03-14 16:27:53 +01:00
parent 958337cadb
commit 25d290df39

View File

@ -676,12 +676,12 @@ def rebuild():
global db_rulestate
db_rulestate = False
sync()
invalidate_caches()
os.system("python3 fixexisting.py")
global cla, coa
cla = CleanerAgent()
coa = CollectorAgent()
build_db()
invalidate_caches()
@ -732,6 +732,8 @@ def build_db():
SCROBBLES = []
ARTISTS = []
TRACKS = []
STAMPS = []
SCROBBLESDICT = {}
# parse files