From bc1d100297fa0ca24a72f9dd499be9c8c101b3a4 Mon Sep 17 00:00:00 2001 From: randomuser Date: Thu, 29 Jul 2021 21:00:41 -0500 Subject: [PATCH] change action from extend to append --- esgd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esgd.py b/esgd.py index 6fe9374..9f00339 100755 --- a/esgd.py +++ b/esgd.py @@ -227,7 +227,7 @@ def parseArgs(): parse.add_argument("-d", "--dir", default="/var/gopher", help="directory to host from") parse.add_argument("-ndx", "--direxc", - action="extend", nargs="*", + action="append", nargs="*", help="make directory-wide exception for file execution") parse.add_argument("-nx", "--nocgi", action="store_true", help="disable execution of cgi scripts")