update to include "extgrps" folder in grp name search

This commit is contained in:
Skillet 2023-05-08 14:20:16 -04:00
parent 27359ff29f
commit 26f71f8fc8

View File

@ -23,6 +23,7 @@ class serveRA(http.server.SimpleHTTPRequestHandler):
grpfile += f"extgrps/{grpName}.cfg" grpfile += f"extgrps/{grpName}.cfg"
else: else:
print("could not find admins file!", file=stderr) print("could not find admins file!", file=stderr)
return
try: try:
file = open(grpfile, 'rb') file = open(grpfile, 'rb')
self.copyfile(file, self.wfile) self.copyfile(file, self.wfile)