From 89a53d519f50baa8179fb85b2c61639d930eef9c Mon Sep 17 00:00:00 2001 From: Richard Mwewa <74001397+rly0nheart@users.noreply.github.com> Date: Thu, 17 Mar 2022 21:07:11 +0200 Subject: [PATCH] Update main.py --- src/main.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main.py b/src/main.py index 448b1be..6472d5e 100644 --- a/src/main.py +++ b/src/main.py @@ -456,11 +456,5 @@ usage: return help -file_exists = os.path.exists('.logs') -if file_exists: - pass -else: - os.mkdir('.logs') - # Set to automatically monitor and log network and user activity to .log folder logging.basicConfig(filename=f'.logs/{datetime.now()}.log',format='[%(asctime)s] %(message)s',level=logging.DEBUG)