[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:
parent
718172dcd1
commit
815a18f2f3
2
PyLoT.py
2
PyLoT.py
@ -3494,7 +3494,7 @@ class Project(object):
|
|||||||
print(e, datetime, filename)
|
print(e, datetime, filename)
|
||||||
continue
|
continue
|
||||||
for event in self.eventlist:
|
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:
|
if event.origins:
|
||||||
origin = event.origins[0] # should have only one origin
|
origin = event.origins[0] # should have only one origin
|
||||||
if origin.time == datetime:
|
if origin.time == datetime:
|
||||||
|
Loading…
Reference in New Issue
Block a user