Commit ce4fe008 authored by echel0n's avatar echel0n

Fixed issue with removal of unwanted files and pathlib

parent a5698317
......@@ -223,7 +223,8 @@ def file_cleanup(remove=False):
if full_filename != pathlib.Path(CHECKSUM_FILE) and full_filename not in valid_files and PROG_DIR in str(full_filename):
if remove:
print('Found unwanted file {}, removed!'.format(full_filename))
print('Found unwanted file {}, you should delete this file manually!'.format(full_filename))
except OSError:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment