mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 22:23:56 +08:00
11 lines
179 B
Python
Executable File
11 lines
179 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import sys
|
|
from tools.zookeeper import Zookeeper
|
|
|
|
|
|
if __name__ == "__main__":
|
|
z = Zookeeper()
|
|
z.set_device_ignition(1 if int(sys.argv[1]) > 0 else 0)
|
|
|