From bd7860bb43e276fab3c83456681acdf0e190e74f Mon Sep 17 00:00:00 2001 From: BuildTools Date: Sun, 6 Nov 2022 11:56:29 +0100 Subject: [PATCH] Keep log file history --- twoot.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/twoot.py b/twoot.py index 5b6a788..92a1105 100755 --- a/twoot.py +++ b/twoot.py @@ -278,10 +278,10 @@ def main(argv): cap = int(args['c']) # Remove previous log file - try: - os.remove(twit_account + '.log') - except FileNotFoundError: - pass + # try: + # os.remove(twit_account + '.log') + #except FileNotFoundError: + # pass # Setup logging to file logging.basicConfig(