[bugfix] error in check during loading of event info csv file

Original condition didn't check for eventID in event.origins.
This commit is contained in:
Darius Arnold 2018-11-30 10:21:54 +01:00
parent 718172dcd1
commit 815a18f2f3

View File

@ -3494,7 +3494,7 @@ class Project(object):
print(e, datetime, filename)
continue
for event in self.eventlist:
if eventID in str(event.resource_id) or event.origins:
if eventID in str(event.resource_id) or eventID in event.origins:
if event.origins:
origin = event.origins[0] # should have only one origin
if origin.time == datetime: