1
0
mirror of https://gitlab.com/jeancf/twoot.git synced 2024-12-18 16:20:17 +00:00

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(