mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-18 17:23:52 +08:00
12 lines
196 B
Python
Executable File
12 lines
196 B
Python
Executable File
#!/usr/bin/env python
|
|
import os
|
|
from panda.lib.panda import Panda
|
|
|
|
if __name__ == "__main__":
|
|
if os.getenv("WIFI") is not None:
|
|
p = Panda("WIFI")
|
|
else:
|
|
p = Panda()
|
|
print p.health()
|
|
|