telebotter / django-telegrambot

Simple app for Telegram bot in Django
BSD 3-Clause "New" or "Revised" License
14 stars 7 forks source link

Don't set workers to 0 for webhooks #20

Closed autoantwort closed 3 years ago

autoantwort commented 3 years ago

The workers are used for the @run_async decorator and have nothing to do with the webhooks

pep8speaks commented 3 years ago

Hello @autoantwort! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 202:80: E501 line too long (96 > 79 characters)

autoantwort commented 3 years ago

The line got shorter and now the bot reports an error ?

lukruh commented 3 years ago

Yes I agree on that. I neither see a reason to set workers to 0 by the library.