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

Template can not be None

parent ba270444
...@@ -919,8 +919,7 @@ class SubProject(models.Model): ...@@ -919,8 +919,7 @@ class SubProject(models.Model):
monolingual = self.file_format_cls.monolingual monolingual = self.file_format_cls.monolingual
return ( return (
(monolingual or monolingual is None) (monolingual or monolingual is None)
and self.template != '' and len(self.template) > 0
and not self.template is None
) )
def should_mark_fuzzy(self): def should_mark_fuzzy(self):
......
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