Skip to content

Commit

Permalink
still need to default to first event
Browse files Browse the repository at this point in the history
  • Loading branch information
btb committed Feb 19, 2020
1 parent 25d6ba2 commit dde8730
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ems_r25/management/commands/ems2r25.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ def handle(self, *args, **options):
scope='extended',
include='reservations')

r25_event = events[0]

if len(events) > 1:
logger.warning("\tFound multiple R25 events")
for event in events:
Expand Down

0 comments on commit dde8730

Please sign in to comment.