mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-25 08:37:07 +01:00
Minor fixes and cfg for setuptools
This commit is contained in:
parent
59ff1b68b5
commit
109439022f
3 changed files with 8 additions and 1 deletions
|
@ -1,2 +1,3 @@
|
|||
sphinx
|
||||
sphinx_rtd_theme
|
||||
sphinx-pypi-upload
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
[wheel]
|
||||
universal = 1
|
||||
|
||||
[upload_docs]
|
||||
[build_sphinx]
|
||||
source-dir = docs/source
|
||||
build-dir = docs/build
|
||||
all_files = 1
|
||||
|
||||
[upload_sphinx]
|
||||
upload-dir = docs/build/html
|
||||
|
|
|
@ -141,6 +141,7 @@ class Bot(TelegramObject):
|
|||
data = self._parseAndCheckTelegram(json_data)
|
||||
|
||||
self.bot = User.de_json(data)
|
||||
|
||||
return self.bot
|
||||
|
||||
@log
|
||||
|
|
Loading…
Reference in a new issue