Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
edsu committed Mar 15, 2017
1 parent aafe24e commit 3377063
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from setuptools import setup

# Also in twarc.py
__version__ = '1.0.8'
__version__ = '1.0.9'

if sys.version_info[0] < 3:
dependencies = open(join('requirements', 'python2.txt')).read().split()
Expand Down
5 changes: 3 additions & 2 deletions twarc.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
except ImportError:
import ConfigParser as configparser # Python 2

__version__ = '1.0.8' # also in setup.py
__version__ = '1.0.9' # also in setup.py

if sys.version_info[:2] <= (2, 7):
# Python 2
Expand Down Expand Up @@ -867,7 +867,8 @@ def get(self, *args, **kwargs):
if not self.client:
self.connect()

kwargs["params"]["tweet_mode"] = self.tweet_mode
if "params" in kwargs:
kwargs["params"]["tweet_mode"] = self.tweet_mode

# Pass allow 404 to not retry on 404
allow_404 = kwargs.pop('allow_404', False)
Expand Down

0 comments on commit 3377063

Please sign in to comment.