[cleanup] replace equality by "is"

This commit is contained in:
2018-07-16 13:52:28 +02:00
parent e210bd8793
commit b22d04db47
9 changed files with 17 additions and 17 deletions

View File

@@ -90,7 +90,7 @@ def autopickevent(data, param, iplot=0, fig_dict=None, fig_dict_wadatijack=None,
if type(result) == dict:
all_onsets[station] = result
else:
if result == None:
if result is None:
result = 'Picker exited unexpectedly.'
print('Could not pick a station: {}\nReason: {}'.format(station, result))