mysql to docker-compose fix exception
This commit is contained in:
parent
3ce7e186f7
commit
5826fb2475
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user