fixed logs backup

This commit is contained in:
Ayush Saini 2023-07-02 23:06:33 +05:30
parent be2bfad1bd
commit 7ba978eafe

View file

@ -133,7 +133,7 @@ class dumplogs(threading.Thread):
finally: finally:
fcntl.flock(lock_file.fileno(), fcntl.LOCK_UN) fcntl.flock(lock_file.fileno(), fcntl.LOCK_UN)
lock_file.close() lock_file.close()
os.remove(lock_file) os.remove(file_path)
def send_webhook_message(): def send_webhook_message():