Commit 51e27525 authored by Damien Naudet's avatar Damien Naudet
Browse files

Fixed bug with the title method.

parent 851c4247
......@@ -63,7 +63,7 @@ class XsocsH5(XsocsH5Base):
def title(self, entry):
with self._get_file() as h5_file:
path = entry + '/title'
return h5_file[path]
return h5_file[path][()]
def entry_filename(self, entry):
with self._get_file() as h5_file:
......
Supports Markdown
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