Keep log file history

This commit is contained in:
BuildTools 2022-11-06 11:56:29 +01:00
parent e8c03ab50b
commit bd7860bb43

View File

@ -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(