mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-22 15:17:00 +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
|
||||||
sphinx_rtd_theme
|
sphinx_rtd_theme
|
||||||
|
sphinx-pypi-upload
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
[wheel]
|
[wheel]
|
||||||
universal = 1
|
universal = 1
|
||||||
|
|
||||||
[upload_docs]
|
[build_sphinx]
|
||||||
|
source-dir = docs/source
|
||||||
|
build-dir = docs/build
|
||||||
|
all_files = 1
|
||||||
|
|
||||||
|
[upload_sphinx]
|
||||||
upload-dir = docs/build/html
|
upload-dir = docs/build/html
|
||||||
|
|
|
@ -141,6 +141,7 @@ class Bot(TelegramObject):
|
||||||
data = self._parseAndCheckTelegram(json_data)
|
data = self._parseAndCheckTelegram(json_data)
|
||||||
|
|
||||||
self.bot = User.de_json(data)
|
self.bot = User.de_json(data)
|
||||||
|
|
||||||
return self.bot
|
return self.bot
|
||||||
|
|
||||||
@log
|
@log
|
||||||
|
|
Loading…
Reference in a new issue