]> git.gag.com Git - fw/quantimotor/commitdiff
need sys
authorBdale Garbee <bdale@gag.com>
Mon, 21 Apr 2025 08:41:18 +0000 (08:41 +0000)
committerBdale Garbee <bdale@gag.com>
Mon, 21 Apr 2025 08:41:18 +0000 (08:41 +0000)
application/app.py

index 1ae093df3dace9b75fa217d54db1bbed11381d21..26226a2d6a1b510afa9e5401efdd6a88124c1a87 100755 (executable)
@@ -9,6 +9,7 @@ import cherrypy
 from cherrypy.lib.static import serve_file
 import gpiod
 from gpiod.line import Direction, Value
+import sys
 
 def set_line_values(chip_path, line_values):
   value_str = {Value.ACTIVE: "Active", Value.INACTIVE: "Inactive"}