Fix for the newer Telethon

Closes: #4
This commit is contained in:
Maxim Mikityanskiy 2018-10-18 23:23:02 +03:00
commit 92f58b9bd4

View file

@ -26,6 +26,8 @@ from telethon import TelegramClient
from telethon.tl.types import UserStatusOnline, UserStatusOffline
from time import mktime, sleep
import telethon.sync
DATETIME_FORMAT = '%Y-%m-%d @ %H:%M:%S'