Commit 6c8b4563 authored by Michal Čihař's avatar Michal Čihař

Do not try to handle blank units

parent 29b96e78
......@@ -798,7 +798,7 @@ class Translation(models.Model):
# Load po file
store = self.get_store()
for pos, unit in enumerate(store.units):
if not unit.istranslatable():
if not unit.istranslatable() or unit.isblank():
continue
newunit = Unit.objects.update_from_unit(self, unit, pos)
try:
......
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