check if java is installed and the version of python

This commit is contained in:
Florian Bezannier
2020-11-25 14:37:29 +01:00
parent bb888219c2
commit c46ef85d33
2 changed files with 10 additions and 4 deletions
+3
View File
@@ -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)