aboutsummaryrefslogtreecommitdiff
path: root/codegen/lib/code/language.py
diff options
context:
space:
mode:
Diffstat (limited to 'codegen/lib/code/language.py')
-rw-r--r--codegen/lib/code/language.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/codegen/lib/code/language.py b/codegen/lib/code/language.py
index d27dde81..ff3e6906 100644
--- a/codegen/lib/code/language.py
+++ b/codegen/lib/code/language.py
@@ -1,8 +1,9 @@
from lib.utils import get_dir_location
import json
-LANGUAGE_DIR = get_dir_location('../azalea-language/src/en_us.json')
+LANGUAGE_DIR = get_dir_location("../azalea-language/src/en_us.json")
+
def write_language(contents: dict):
- with open(LANGUAGE_DIR, 'w') as f:
- f.write(json.dumps(contents, indent=' ')) \ No newline at end of file
+ with open(LANGUAGE_DIR, "w") as f:
+ f.write(json.dumps(contents, indent=" "))