[bugfix] Exception had no attribute message

This commit is contained in:
Marcel Paffrath 2019-05-29 10:36:37 +02:00
parent 8164710ea4
commit 87bd46b535

View File

@ -327,7 +327,7 @@ def picks_from_picksdict(picks, creation_info=None):
filter_id = phase['filteroptions'] filter_id = phase['filteroptions']
filter_id = transformFilterString4Export(filter_id) filter_id = transformFilterString4Export(filter_id)
except KeyError as e: except KeyError as e:
warnings.warn(e.message, RuntimeWarning) warnings.warn(str(e), RuntimeWarning)
filter_id = '' filter_id = ''
pick.filter_id = filter_id pick.filter_id = filter_id
try: try: