mirror of
https://github.com/keirf/greaseweazle-firmware.git
synced 2025-10-31 11:06:44 -07:00
15 lines
306 B
Python
Executable File
15 lines
306 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import sys, os
|
|
|
|
if sys.version_info < (3,0,0):
|
|
print('** FATAL ERROR: Greaseweazle requires Python 3')
|
|
sys.exit(1)
|
|
|
|
# Update the search path and import the real script
|
|
sys.path[0] = os.path.join(sys.path[0], "scripts")
|
|
import gw
|
|
|
|
# Execute the real script
|
|
gw.main(sys.argv)
|