From d5724f2ea7b51c7417cd018dd86a915437361b24 Mon Sep 17 00:00:00 2001 From: Stefal Date: Thu, 13 Jun 2024 16:18:57 +0200 Subject: [PATCH] add argparse module --- web_app/gnss_rproxy_server.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web_app/gnss_rproxy_server.py b/web_app/gnss_rproxy_server.py index 2b4ab34..7c08a6e 100644 --- a/web_app/gnss_rproxy_server.py +++ b/web_app/gnss_rproxy_server.py @@ -9,6 +9,7 @@ from gevent import monkey monkey.patch_all() import requests +import argparse from RTKBaseConfigManager import RTKBaseConfigManager #from dotenv import load_dotenv # pip package python-dotenv @@ -173,6 +174,7 @@ def arg_parse(): return args if __name__ == "__main__": + args=arg_parse() try: #check if authentification is required if not rtkbaseconfig.get_web_authentification():