Closes: https://github.com/napari/napari-animation/issues/183
Currently when the SaveDialog is canceled or exited without saving then the return is "" -- an empty string. This doesn't have a get method, so it results in a Traceback.
In this PR, I ensure a dict is always returned and in the case of exiting without saving it's just empty.
Closes: https://github.com/napari/napari-animation/issues/183 Currently when the SaveDialog is canceled or exited without saving then the return is "" -- an empty string. This doesn't have a
get
method, so it results in a Traceback.In this PR, I ensure a dict is always returned and in the case of exiting without saving it's just empty.