extract_metadata: Set slicer type to "Unknown" if not able to detect
Signed-off-by: Eric Callahan <akrsine.code@gmail.com>
This commit is contained in:
parent
304e861a28
commit
bcb7e17105
|
@ -324,6 +324,8 @@ def extract_metadata(file_path, log):
|
|||
result = func()
|
||||
if result is not None:
|
||||
metadata[key] = result
|
||||
else:
|
||||
metadata['slicer'] = "Unknown"
|
||||
return metadata
|
||||
|
||||
def main(path, filename):
|
||||
|
|
Loading…
Reference in New Issue