Commit 1283a347 authored by Administrator's avatar Administrator

[BUG Here?] why silent continu if key is not present.

parent 1dd8ceba
......@@ -151,6 +151,7 @@ def parse_resources(corpus, user=None, user_id=None):
try:
metadata = metadata_types[metadata_key]
except KeyError:
# Why silent continue here ?
continue
if metadata.type == 'string':
metadata_value = metadata_value[:255]
......
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