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

Clarify condition

parent f105986b
......@@ -1238,7 +1238,7 @@ class SubProject(models.Model):
Returns true if subproject is using template for translation
'''
return (
self.get_file_format().monolingual != False
not self.get_file_format().monolingual
and self.template != ''
and not self.template is None
)
......
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