diff --git a/AlexaMusic/core/dir.py b/AlexaMusic/core/dir.py index 1f9d5bd8..2cde1f66 100644 --- a/AlexaMusic/core/dir.py +++ b/AlexaMusic/core/dir.py @@ -29,6 +29,12 @@ def dirr(): for file in os.listdir(): if file.endswith(".jpeg"): os.remove(file) + for file in os.listdir(): + if file.endswith(".session"): + os.remove(file) + for file in os.listdir(): + if file.endswith(".session-journal"): + os.remove(file) if "downloads" not in listdir(): mkdir("downloads") if "cache" not in listdir():