Browse Source

Merge branch 'master' of github.com:sidoh/esp8266_milight_hub into PL1167

Chris Mullins 8 years ago
parent
commit
08319dc26d
1 changed files with 2 additions and 3 deletions
  1. 2 3
      .get_version.py

+ 2 - 3
.get_version.py

@@ -1,5 +1,5 @@
 from subprocess import check_output
-import os
+import sys
 import os
 import platform
 import subprocess
@@ -28,5 +28,4 @@ if is_tool("git"):
             pass
         pass
 
-
-print("-DMILIGHT_HUB_VERSION=%s" % version)
+sys.stdout.write("-DMILIGHT_HUB_VERSION=%s %s" % (version, ' '.join(sys.argv[1:])))