Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
edsu committed Dec 18, 2017
1 parent 3a7fa68 commit ade12a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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.3.3'
__version__ = '1.3.4'

if sys.version_info[0] < 3:
dependencies = open(join('requirements', 'python2.txt')).read().split()
Expand Down
2 changes: 1 addition & 1 deletion utils/unshrtn.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def rewrite_line(line):

# finally assign the long url, giving preference to a
# canonical url if one was found
if resp and resp['long']:
if resp and 'long' in resp:
url_dict['unshortened_url'] = resp['canonical'] or resp['long']

return json.dumps(tweet)
Expand Down

0 comments on commit ade12a7

Please sign in to comment.