1
0
mirror of https://github.com/azlux/botamusique synced 2024-11-23 22:06:09 +00:00

Compare commits

..

No commits in common. "6115a0d3ee9786b5dffb1d3a7daa461ede283bca" and "bd9f9bc432c517d3e191a377e473574f665fa9de" have entirely different histories.

View File

@ -547,8 +547,6 @@ def clear_tmp_folder(path, size):
all_files = ""
for (path, dirs, files) in os.walk(path):
all_files = [os.path.join(path, file) for file in files]
# exclude invalid symlinks (linux)
all_files = [file for file in all_files if os.path.exists(file)]
all_files.sort(key=lambda x: os.path.getmtime(x))
size_tp = 0
for idx, file in enumerate(all_files):