From 94172221da096bff0234eb4c0548937cd33f3c75 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sat, 3 Mar 2018 00:43:33 +0100 Subject: [PATCH] Whoops, got one of the remi.server parameters wrong --- default_config.py | 2 +- main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/default_config.py b/default_config.py index bbf3b14..9fd3ffb 100644 --- a/default_config.py +++ b/default_config.py @@ -5,7 +5,7 @@ port = 8081 # http listen port api_base = "http://localhost:8080/api" # a string containing the host name or remote ip address that allows to access to your app. -hostname = None +host_name = None # websocket port websocket_port = 0 # 0 means random diff --git a/main.py b/main.py index 5a9fca3..4b18a89 100755 --- a/main.py +++ b/main.py @@ -7,7 +7,7 @@ from grzegorz_clients import api, gui # config must be a object with the attributes seen in default_config.py: def main(config): start_kwargs = {} - for attr in ("address", "port", "hostname", "websocket_port", + for attr in ("address", "port", "host_name", "websocket_port", "username", "password", "standalone", "start_browser", "multiple_instance", "enable_file_cache"): assert hasattr(config, attr), f"Config has no attribute {attr!r}!"