From 20896cbbc2cf39ffc41f737c4dd204434b2a80f4 Mon Sep 17 00:00:00 2001 From: Robin van Genderen Date: Thu, 2 May 2019 13:12:14 +0200 Subject: [PATCH] set type to string for language option --- webapp_admin/webapp_admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp_admin/webapp_admin.py b/webapp_admin/webapp_admin.py index 6c6f748..70272d4 100755 --- a/webapp_admin/webapp_admin.py +++ b/webapp_admin/webapp_admin.py @@ -75,7 +75,7 @@ def opt_args(print_help=None): # WebApp setting option group group = OptionGroup(parser, "webapp-settings", "") - group.add_option("--language", dest="language", action="store", help="Set new language (e.g. en_GB or nl_NL)") + group.add_option("--language", dest="language", action="store", type="string", help="Set new language (e.g. en_GB or nl_NL)") group.add_option("--theme", dest="theme", action="store", help="Change theme (e.g. dark)") group.add_option("--free-busy", dest="freebusy", action="store", help="Change free/busy time span in months") group.add_option("--icons", dest="icons", action="store", help="Change icons (e.g. breeze)")