Commit df932c6e authored by Michal Čihař's avatar Michal Čihař

Fix coding style

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 8178791e
......@@ -108,7 +108,7 @@ class MachineTranslation(object):
)
# Needed for Google
while ',,' in text or '[,' in text:
text = text.replace(',,', ',null,').replace('[,','[')
text = text.replace(',,', ',null,').replace('[,', '[')
# Parse JSON
response = json.loads(text)
......
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