aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/buildcommands.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/buildcommands.py')
-rw-r--r--scripts/buildcommands.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/buildcommands.py b/scripts/buildcommands.py
index 394f9ffa..e68d327f 100644
--- a/scripts/buildcommands.py
+++ b/scripts/buildcommands.py
@@ -18,8 +18,7 @@ import zlib
sys.path.append("./klippy")
import msgproto
-
-import klippy.klippy
+from __version__ import __version__
FILEHEADER = """
/* DO NOT EDIT! This is an autogenerated file. See scripts/buildcommands.py. */
@@ -567,7 +566,7 @@ def check_output(prog):
def build_version(extra, cleanbuild):
- version = klippy.klippy.__version__
+ version = __version__
if not version:
cleanbuild = False
version = "?"