Commits

Seraphim Mellos  committed c2741f4

If remote last_update time is None, skip the language

  • Participants
  • Parent commits 41ed06c

Comments (0)

Files changed (1)

File txclib/project.py

                             remote_time = None
                         local_time = time.mktime(time.gmtime(os.path.getmtime(local_file)))
 
-
-                        if remote_time and remote_time < local_time:
+                        if not remote_time or remote_time and remote_time < local_time:
                             MSG("Skipping '%s' translation (file: %s)." % (color_text(lang, "RED"), local_file))
                             continue