Replaced ValueError with return, maybe this is only a bad workaround!
This commit is contained in:
parent
8164710ea4
commit
caf76fe94b
@ -1937,7 +1937,9 @@ class PickDlg(QDialog):
|
|||||||
if origins:
|
if origins:
|
||||||
source_origin = origins[0]
|
source_origin = origins[0]
|
||||||
else:
|
else:
|
||||||
raise ValueError('No source origin given.')
|
print('get_arrivals: No source origin given. Return!')
|
||||||
|
return
|
||||||
|
# raise ValueError('No source origin given.')
|
||||||
arrivals = func[plot](source_origin.depth,
|
arrivals = func[plot](source_origin.depth,
|
||||||
source_origin.latitude,
|
source_origin.latitude,
|
||||||
source_origin.longitude,
|
source_origin.longitude,
|
||||||
|
Loading…
Reference in New Issue
Block a user