AttributeError: module 'signal' has no attribute 'SIGQUIT'
KingTimer12 opened this issue · 2 comments
KingTimer12 commented
Hi, when i try to run the app, show that error.
and it's the code
tg = Telegram(
api_id=settings.TG_API_ID,
api_hash=settings.TG_API_HASH,
phone=settings.TG_NUMBER,
database_encryption_key='changekey123',
files_directory='/tmp/.tdlib_files/',
)
tg.login()
get_chats_result = tg.get_chats()
get_chats_result.wait()
if get_chats_result.error:
print(f'get chats error: {get_chats_result.error_info}')
else:
print(f'chats: {get_chats_result.update}')
msg = tg.send_message(settings.DARK_CHAT_ID, "/test")
msg.wait()
if msg.error:
print(f'Failed to send the message: {msg.error_info}')
print(msg.update)
ur help will be welcome
Habibullah-pythoner commented
Facing same issue
alexander-akhmetov commented
Hi! Unfortunately, Windows is not supported.