diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index 68396ac9..26f6a2fd 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -1786,7 +1786,7 @@ class PickDlg(QDialog): # init expected picks using obspy Taup try: - if self.metadata and model is not None: + if self.metadata and model != "None": self.model = TauPyModel(model) self.get_arrivals() self.drawArrivals()