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:
parent
1c2062c512
commit
dad1365627
@ -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")]
|
||||
|
Loading…
Reference in New Issue
Block a user