Files
greaseweazle-firmware/gw
2020-05-19 13:46:19 +01:00

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)