Closed AVitg closed 7 months ago
seems this "change" works, but i have no idea, if this is the way it should be done in python....
if bool(self.config.ARCHIVE_DIR):
self.archive_log(file_path, file)
else:
fp.close()
self.delete_log(file_path)
return True, file
This is a problem and I will resolve this ASAP. Thank you @AVitg
Please test @AVitg
as I am running a dev version or that file, i just manually merged the changes... i would say it works THANKS
in HandlingLogs.py (see code below), there might be a logical flaw, that only on windows shows up (in the logs), my assumption is, that it has to do with below lines:
my assumption is, windows tries to delete the file, while it is still open. error looks like this:
any suggestions on a fix?