Skip to content

Commit

Permalink
Attempt to fix configurator.
Browse files Browse the repository at this point in the history
  • Loading branch information
tzarc committed Nov 28, 2023
1 parent ff4b49d commit 4885163
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qmk_compiler.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import json
import logging
import os
import sys
from io import BytesIO
from os import chdir, environ, path, remove
Expand Down Expand Up @@ -162,6 +163,7 @@ def compile_json(keyboard_keymap_data, source_ip=None, send_metrics=True, public
if './lib/python' not in sys.path:
sys.path.append('./lib/python')

os.environ.set('ORIG_CWD', str(QMK_FIRMWARE_PATH))
from qmk.info import info_json

# If this keyboard needs a submodule check it out
Expand Down

0 comments on commit 4885163

Please sign in to comment.