From ae2728faf474fcda310f6d060578c90d90343aba Mon Sep 17 00:00:00 2001 From: Griatch Date: Wed, 19 Feb 2020 23:49:28 +0100 Subject: [PATCH] Ran black on sources --- evennia/server/portal/portal.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/evennia/server/portal/portal.py b/evennia/server/portal/portal.py index 5864134b46..df6ad016c5 100644 --- a/evennia/server/portal/portal.py +++ b/evennia/server/portal/portal.py @@ -394,13 +394,12 @@ if WEBSERVER_ENABLED: if WEB_PLUGINS_MODULE: try: web_root = WEB_PLUGINS_MODULE.at_webproxy_root_creation(web_root) - except Exception as e: # Legacy user has not added an at_webproxy_root_creation function in existing web plugins file + except Exception as e: # Legacy user has not added an at_webproxy_root_creation function in existing web plugins file INFO_DICT["errors"] = ( "WARNING: WEB_PLUGINS_MODULE is enabled but at_webproxy_root_creation() not found - " "copy 'evennia/game_template/server/conf/web_plugins.py to mygame/server/conf." ) - proxy_service = internet.TCPServer(proxyport, web_root, interface=interface) proxy_service.setName("EvenniaWebProxy%s:%s" % (ifacestr, proxyport)) PORTAL.services.addService(proxy_service)