From 5afcf1f10a6a11b66532aa1d606966324aba8ca9 Mon Sep 17 00:00:00 2001 From: Simon Pirkelmann Date: Mon, 23 Aug 2021 20:30:50 +0200 Subject: [PATCH] added default argument for super admin file --- bin/launch_webadmin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/launch_webadmin b/bin/launch_webadmin index 2a0e61f..d3d53d0 100755 --- a/bin/launch_webadmin +++ b/bin/launch_webadmin @@ -9,7 +9,7 @@ parser.add_argument("--token_file", default="/etc/door_tokens", help="path to th parser.add_argument("--nfc_socket", default="/tmp/nfc.sock", help="socket for handling NFC reader commands") parser.add_argument("--template_folder", default="templates", help="path to Flask templates folder") parser.add_argument("--static_folder", default="static", help="path to Flask static folder") -parser.add_argument("--admin_file", help="Path to file for creating super admin users") +parser.add_argument("--admin_file", default="/etc/admins.conf", help="Path to file for creating super admin users") parser.add_argument("--log_file", default="/var/log/webinterface.log", help="Path to flask log file") parser.add_argument("--nfc_log", default="/var/log/nfc.log", help="Path to nfc log file") parser.add_argument("--ldap_url", default="ldaps://ldap.imaginaerraum.de",