Skip to content

Commit

Permalink
Fix regression added to file download
Browse files Browse the repository at this point in the history
  • Loading branch information
Surye committed Oct 12, 2015
1 parent 14c48ff commit a4c47e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
@@ -1,7 +1,7 @@
from setuptools import setup
import sys

__version__ = '2.0.0'
__version__ = '2.0.1'

github_tag = __version__
if 'dev' in __version__:
Expand Down
2 changes: 1 addition & 1 deletion twx/botapi/botapi.py
Expand Up @@ -886,7 +886,7 @@ class TelegramDownloadRequest(TelegramBotRPCRequest):
download_url_base = 'https://api.telegram.org/file/bot'

def __init__(self, file_path, out_file, token, on_success=None,
on_error=None): # request_method eats the kwarg from TelegramBot.request_args
on_error=None, request_method=None): # request_method eats the kwarg from TelegramBot.request_args
self.file_path = file_path
self.out_file = out_file
self.token = token
Expand Down

0 comments on commit a4c47e8

Please sign in to comment.