[bugfix] doubled picks saving XML files

This commit is contained in:
Marcel Paffrath 2017-08-17 11:54:01 +02:00
parent ea7b609091
commit d067d4787e

View File

@ -69,7 +69,7 @@ class Event(ObsPyEvent):
def clearObsPyPicks(self, picktype):
for index, pick in reversed(list(enumerate(self.picks))):
if pick.method_id == picktype:
if picktype in str(pick.method_id):
self.picks.pop(index)
def addPicks(self, picks):