Advertisement
Cesar_Leiton

Untitled

Sep 23rd, 2020
2,359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Traceback (most recent call last):
  2.   File "C:\Python38\lib\threading.py", line 932, in _bootstrap_inner
  3.     self.run()
  4.   File "C:\Python38\lib\threading.py", line 870, in run
  5.     self._target(*self._args, **self._kwargs)
  6.   File "main.py", line 58, in main_telegram
  7.     updater.idle()
  8.   File "C:\Python38\lib\site-packages\python_telegram_bot-12.8-py3.8.egg\telegram\ext\updater.py", line 604, in idle
  9.     signal(sig, self.signal_handler)
  10.   File "C:\Python38\lib\signal.py", line 47, in signal
  11.     handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler))
  12. ValueError: signal only works in main thread
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement