parent
35f99c849f
commit
fa664e6663
|
|
@ -5,6 +5,8 @@ import threading
|
|||
from telegram.ext import Updater
|
||||
import os
|
||||
|
||||
|
||||
if os.path.exists('log.txt'):
|
||||
with open('log.txt', 'r+') as f:
|
||||
f.truncate(0)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue