Keep log files

This commit is contained in:
jeancf 2022-11-23 16:28:37 +01:00
parent db8d99fc4e
commit 7ebc2927a7

View File

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