From 7ebc2927a7786722afda55e14ce79e0e27a1d33d Mon Sep 17 00:00:00 2001 From: jeancf Date: Wed, 23 Nov 2022 16:28:37 +0100 Subject: [PATCH] Keep log files --- twoot.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/twoot.py b/twoot.py index f0126c3..13b0c3b 100755 --- a/twoot.py +++ b/twoot.py @@ -475,10 +475,10 @@ def main(argv): exit(-1) # Remove previous log file - try: - os.remove(TOML['config']['twitter_account'] + '.log') - except FileNotFoundError: - pass + # try: + # os.remove(TOML['config']['twitter_account'] + '.log') + # except FileNotFoundError: + # pass # Setup logging to file logging.basicConfig(