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:
parent
db8d99fc4e
commit
7ebc2927a7
8
twoot.py
8
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(
|
||||
|
|
Loading…
Reference in New Issue
Block a user