Skip to content
This repository has been archived by the owner on Mar 31, 2019. It is now read-only.

Commit

Permalink
decode tree name
Browse files Browse the repository at this point in the history
  • Loading branch information
jpivarski committed Feb 9, 2018
1 parent 7963726 commit 470b0d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oamap/source/root.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def recurse(parent):
if hasattr(parent, "_streamer") and hasattr(parent._streamer, "fName"):
name = parent._streamer.fName.decode("ascii")
elif isinstance(parent, uproot.tree.TTreeMethods):
name = parent.name
name = parent.name.decode("ascii")
else:
name = None

Expand Down

0 comments on commit 470b0d7

Please sign in to comment.