Whoops, got one of the remi.server parameters wrong

This commit is contained in:
Peder Bergebakken Sundt 2018-03-03 00:43:33 +01:00
parent be484767c5
commit 94172221da
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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}!"