Commits

Seraphim Mellos committed c2741f4

If remote last_update time is None, skip the language

Comments (0)

Files changed (1)

                             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