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