This commit is contained in:
piair
2023-02-25 19:05:47 +01:00
parent 442dbb08d9
commit 87b47e97fd
2 changed files with 70 additions and 47 deletions

View File

@ -78,6 +78,14 @@ parser.add_argument(
default=""
)
parser.add_argument(
"-v",
"--vnc",
help="enable VNC",
dest="vnc",
default="None"
)
args = parser.parse_args()
CLAIM = args.claim
CUSTOM_START = args.override
@ -87,7 +95,8 @@ FULL_LOG = args.fulllog
FAST = args.fast
if CUSTOM_START :
LOG = True
VNC_ENABLED = args.vnc != "None"
VNC_PORT = args.vnc
POINTS_FILE = args.points_file
# global variables used later in the code