Skip to content

Commit

Permalink
Fix #41
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtOfCode- authored Jun 23, 2020
1 parent 705c43f commit 1dce783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stackapi/stackapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def fetch(self, endpoint=None, page=1, key=None, filter='default', **kwargs):
'has_more': False if 'has_more' not in data[-1] else data[-1]['has_more'],
'page': params['page'],
'quota_max': -1 if 'quota_max' not in data[-1] else data[-1]['quota_max'],
'quota_remaining': -1 if 'quota_remaining' not in data[-1] else data[-1]['quota_max'],
'quota_remaining': -1 if 'quota_remaining' not in data[-1] else data[-1]['quota_remaining'],
'total': total,
'items': list(chain(r))}

Expand Down

0 comments on commit 1dce783

Please sign in to comment.