Skip to content

Commit

Permalink
Fix decode mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewfullard committed Aug 15, 2024
1 parent 1362f7e commit dca8511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tardis/io/atom_data/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ def get_attributes_from_store(store, store_key):
try:
attribute = store.root._v_attrs[store_key]
if hasattr(attribute, "decode"):
attribute = (store.root._v_attrs[attribute].decode("ascii"),)
attribute = (attribute.decode("ascii"),)
except KeyError:
logger.debug(
f"{store_key} not available for Atom Data. Setting value to None"
Expand Down

0 comments on commit dca8511

Please sign in to comment.