mirror of
https://gitlab.com/jeancf/twoot.git
synced 2025-05-04 02:23:34 +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)
|
exit(-1)
|
||||||
|
|
||||||
# Remove previous log file
|
# Remove previous log file
|
||||||
try:
|
# try:
|
||||||
os.remove(TOML['config']['twitter_account'] + '.log')
|
# os.remove(TOML['config']['twitter_account'] + '.log')
|
||||||
except FileNotFoundError:
|
# except FileNotFoundError:
|
||||||
pass
|
# pass
|
||||||
|
|
||||||
# Setup logging to file
|
# Setup logging to file
|
||||||
logging.basicConfig(
|
logging.basicConfig(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user