Fix . Don't check for presence of constants.js

This commit is contained in:
Andrew n marshall 2017-02-22 22:58:39 -08:00
parent 3d08099950
commit c5c32b457f

View file

@ -417,7 +417,7 @@ class Gen_langfiles(threading.Thread):
"--quiet"]
json_files = glob.glob(os.path.join("msg", "json", "*.json"))
json_files = [file for file in json_files if not
(file.endswith(("keys.json", "synonyms.json", "qqq.json")))]
(file.endswith(("keys.json", "synonyms.json", "qqq.json", "constants.json")))]
cmd.extend(json_files)
subprocess.check_call(cmd)
except (subprocess.CalledProcessError, OSError) as e: