diff options
Diffstat (limited to 'src/mailman/rest/helpers.py')
| -rw-r--r-- | src/mailman/rest/helpers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/rest/helpers.py b/src/mailman/rest/helpers.py index d1afdb0d9..fac4ae4f1 100644 --- a/src/mailman/rest/helpers.py +++ b/src/mailman/rest/helpers.py @@ -41,9 +41,9 @@ def path_to(resource): system base URI. :type resource: string :return: The full path to the resource. - :rtype: string + :rtype: bytes """ - return '{0}://{1}:{2}/{3}/{4}'.format( + return b'{0}://{1}:{2}/{3}/{4}'.format( ('https' if as_boolean(config.webservice.use_https) else 'http'), config.webservice.hostname, config.webservice.port, |
