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:
parent
958337cadb
commit
25d290df39
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user