Skip to content
Snippets Groups Projects
Commit 68eb042c authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Ignore old aanet usr formats

parent f62bb448
No related branches found
No related tags found
2 merge requests!24Refactor offline,!22WIP: Slicing and refactoring offline
Pipeline #9280 failed
......@@ -472,6 +472,9 @@ class Usr:
# always the case; the usr-format is simply a very bad design.
self._name = name
try:
tree['usr'] # This will raise a KeyError in old aanet files
# which has a different strucuter and key (usr_data)
# We do not support those...
self._usr_names = [
n.decode("utf-8") for n in tree['usr_names'].array()[0]
]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment