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

Fix condition for re-scanning files

parent dc511902
......@@ -1314,7 +1314,7 @@ class Translation(models.Model):
blob_hash = self.get_git_blob_hash()
# Check if we're not already up to date
if self.revision == blob_hash:
if self.revision != blob_hash:
logger.info(
'processing %s in %s, revision has changed',
self.filename,
......
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