[bugfix] doubled picks saving XML files

This commit is contained in:
marcel committed 2017-08-17 11:54:01 +02:00
1 parent ea7b609091
commit d067d4787e
1 file changed
+1 -1
+1 -1
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):