diff -r da2decb6d0c7 roundup/cgi/client.py --- a/roundup/cgi/client.py Wed Feb 13 06:32:47 2019 -0500 +++ b/roundup/cgi/client.py Sat Feb 16 15:57:32 2019 +0100 @@ -48,7 +48,7 @@ from email.mime.multipart import MIMEMultipart import roundup.anypy.email_ -from roundup.anypy.strings import s2b, b2s, uchr +from roundup.anypy.strings import s2b, b2s, uchr, is_us def initialiseSecurity(security): '''Create some Permissions and Roles on the security object @@ -1511,7 +1511,7 @@ prefix = self.instance.config[dir_option] if not prefix: continue - if type(prefix) is str: + if is_us(prefix): # prefix can be a string or list depending on # option. Make it a list to iterate over. prefix = [ prefix ]