Commit e6d8a0a5 authored by Thomas Vincent's avatar Thomas Vincent

fix typo

parent b0587814
......@@ -433,7 +433,7 @@ class QSpaceH5Writer(QSpaceH5):
selected = str_to_h5_utf8(selected)
self._set_array_data(path, selected)
path = self._ENTRIES_PATH + '/discarded'
discarded = str_to_h5_utf8(discarded if discarded is not None or [])
discarded = str_to_h5_utf8(discarded if discarded is not None else [])
self._set_array_data(path, discarded)
if sample_shifts is not None:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment