diff --git a/trytond/url.py b/trytond/url.py index 80f445ee1c..a7eccd96df 100644 --- a/trytond/url.py +++ b/trytond/url.py @@ -8,7 +8,7 @@ import socket from trytond.config import config from trytond.transaction import Transaction -__all__ = ['URLMixin'] +__all__ = ['URLMixin', 'HOSTNAME'] HOSTNAME = (config.get('web', 'hostname') or socket.getfqdn())