Skip to content

Commit

Permalink
Python 3.6 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
justedro committed Jun 3, 2019
1 parent 799755d commit dd1b7f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tap_appstore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ def query_report(api):
catalog_entry = Context.get_catalog_entry(stream_name)
stream_schema = catalog_entry['schema']

bookmark = datetime.fromisoformat(get_bookmark(stream_name)).replace(tzinfo=pytz.UTC)
# bookmark = datetime.fromisoformat(get_bookmark(stream_name)).replace(tzinfo=pytz.UTC)
bookmark = datetime.strptime(get_bookmark(stream_name), "%Y-%m-%dT%H:%M:%SZ").replace(tzinfo=pytz.UTC)
delta = timedelta(days=1)

extraction_time = singer.utils.now()
Expand Down

0 comments on commit dd1b7f9

Please sign in to comment.