Fix check of wrong variable

This commit is contained in:
Erik Johnston 2016-10-11 13:57:22 +01:00
parent 748d8fdc7b
commit 668f91d707
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ class ReplicationResource(Resource):
request_backfill = request_streams.get("backfill") request_backfill = request_streams.get("backfill")
if request_events is not None or request_backfill is not None: if request_events is not None or request_backfill is not None:
if request_backfill is None: if request_events is None:
request_events = current_token.events request_events = current_token.events
if request_backfill is None: if request_backfill is None:
request_backfill = current_token.backfill request_backfill = current_token.backfill