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

Needs to be unicode

parent 19de0410
......@@ -364,7 +364,7 @@ class EndExclamationCheck(Check):
def check_single(self, source, target, flags, language, unit):
if self.is_language(language, ['eu']):
if source[-1] == '!':
return '¡' in target and '!' in target
return u'¡' in target and u'!' in target
if self.is_language(language, ['fr', 'br']):
if len(target) == 0:
return False
......
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