Skip to content

Commit

Permalink
The code outputting to a pandas dataframe was broken from a recent up…
Browse files Browse the repository at this point in the history
…date. (twintproject#999)

* added missing space which broke geosearch

* fixed dataframe code broken from hour formatting in commit 2348211
  • Loading branch information
coreyryanhanson authored Oct 30, 2020
1 parent c875916 commit a45a8ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twint/storage/panda.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def update(object, config):
"username": Tweet.username,
"name": Tweet.name,
"day": day,
"hour": datetime.strptime("%H", localtime(datetime_ms/1000)),
"hour": strftime("%H", localtime(datetime_ms/1000)),
"link": Tweet.link,
"urls": Tweet.urls,
"photos": Tweet.photos,
Expand Down

0 comments on commit a45a8ac

Please sign in to comment.