mirror of
https://github.com/flobz/psa_car_controller.git
synced 2026-08-26 10:17:18 +00:00
check if java is installed and the version of python
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import sys
|
||||
import threading
|
||||
from threading import Thread
|
||||
|
||||
@@ -81,6 +82,8 @@ def parse_args():
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
if sys.version_info < (3, 6):
|
||||
raise RuntimeError("This application requres Python 3.6+")
|
||||
parser = parse_args()
|
||||
args = parser.parse_args()
|
||||
my_logger(handler_level=args.debug)
|
||||
|
||||
Reference in New Issue
Block a user