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

Renamed imported scrobble folder

This commit is contained in:
krateng 2022-04-12 20:33:36 +02:00
parent 1c2062c512
commit dad1365627

View File

@ -44,7 +44,7 @@ def upgrade_apikeys():
def upgrade_db(callback_add_scrobbles):
oldfolder = os.path.join(dir_settings['state'],"scrobbles")
newfolder = os.path.join(dir_settings['state'],".oldscrobbles")
newfolder = os.path.join(dir_settings['state'],".v2scrobbles")
os.makedirs(newfolder,exist_ok=True)
if os.path.exists(oldfolder):
scrobblefiles = [f for f in os.listdir(oldfolder) if f.endswith(".tsv")]