Merge pull request #948 from AnmAtAnm/fix946

Fix #946. Don't check for presence of constants.js
This commit is contained in:
Andrew n marshall
2017-02-23 10:22:32 -08:00
committed by GitHub

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: