mysql to docker-compose fix exception

This commit is contained in:
alex 2019-10-24 14:49:59 +03:00
parent 3ce7e186f7
commit 5826fb2475

View File

@ -7,6 +7,6 @@ def parse_legacy_content(legacy_content):
result = ''
try:
result = content_dict['news_content']['value']
except IndexError:
except KeyError:
pass
return result