Skip to content
Snippets Groups Projects
Verified Commit be0a9da8 authored by Tadej Novak's avatar Tadej Novak
Browse files

RecExCommon: Fix AMI tag parsing from metadata (temporary)

parent d2d2cb24
No related branches found
No related tags found
No related merge requests found
......@@ -147,6 +147,9 @@ amitag = ""
from PyUtils.MetaReaderPeeker import metadata
try:
amitag = metadata['AMITag']
# In some cases AMITag can be a list, just take the last one
if type(amitag) == list:
amitag=amitag[-1]
except:
logRecExCommon_topOptions.info("Cannot access TagInfo/AMITag")
......
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