Commit c7198aba authored by Stavros Sachtouris's avatar Stavros Sachtouris Committed by Ilias Tsitsimpis
Browse files

Fix typo in "load_image_meta" (cmds.image)

Closes #27
parent e0b84074
......@@ -108,7 +108,7 @@ def load_image_meta(filepath):
key_ok = not (' ' in k or '-' in k)
assert key_ok, 'Invalid property key %s' % k
continue
meta_ok = not isinstance(v, dict, list)
meta_ok = not isinstance(v, (dict, list))
assert meta_ok, 'Invalid value (meta key %s)' % k
meta_ok = ' ' not in k
assert meta_ok, 'Invalid meta key [%s]' % k
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment