mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-22 12:11:26 +00:00
fix tabs
This commit is contained in:
parent
3ee5c3bcc0
commit
9072ff5742
|
@ -42,7 +42,7 @@ def get_paginated_logs(
|
||||||
events = get_events_from_journal(j, limit, lambda j: j.get_previous())
|
events = get_events_from_journal(j, limit, lambda j: j.get_previous())
|
||||||
events.reverse()
|
events.reverse()
|
||||||
|
|
||||||
j.close()
|
j.close()
|
||||||
|
|
||||||
return events
|
return events
|
||||||
elif up_cursor is None and down_cursor is not None:
|
elif up_cursor is None and down_cursor is not None:
|
||||||
|
@ -61,7 +61,7 @@ def get_paginated_logs(
|
||||||
|
|
||||||
events = get_events_from_journal(j, limit, lambda j: j.get_next())
|
events = get_events_from_journal(j, limit, lambda j: j.get_next())
|
||||||
|
|
||||||
j.close()
|
j.close()
|
||||||
|
|
||||||
return events
|
return events
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue