Skip to content

Commit

Permalink
update for pytg 0.4.10
Browse files Browse the repository at this point in the history
new result for load_*
  • Loading branch information
Nanoseb committed Apr 5, 2016
1 parent bc80024 commit 94cdaf4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ncTelegram/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ def download_media(self, msg):
mid = msg['id']

if mtype == 'photo':
file = self.sender.load_photo(mid)['result']
file = self.sender.load_photo(mid)

elif mtype == 'document':
file = self.sender.load_document(mid)['result']
file = self.sender.load_document(mid)
else:
file = None

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from distutils.core import setup

setup(name='ncTelegram',
version='0.9.3',
version='0.9.4',
description='A curse Telegram client',
license='GPLv3',
author='Sébastien Lemaire',
Expand All @@ -12,6 +12,6 @@
scripts=['nctelegram'],
data_files=[('/etc', ['ncTelegram.conf']),
('/usr/share/ncTelegram', ['t_logo.png']),],
install_requires=["pytg>=0.4.6"]
install_requires=["pytg>=0.4.10"]

)

0 comments on commit 94cdaf4

Please sign in to comment.