Skip to content

Commit

Permalink
no alias
Browse files Browse the repository at this point in the history
  • Loading branch information
cnheider committed May 27, 2024
1 parent cb68ab2 commit 3d444e3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions heimdallr/entry_points/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,10 +359,13 @@ def main(
LOG_WRITER = LogWriter(
ensure_existence(PROJECT_APP_PATH.site_log) / f"{PROJECT_NAME}_server.log"
)

LOG_WRITER.open()
MQTT_CLIENT.on_message = on_message
# MQTT_CLIENT.on_disconnect = on_disconnect

print("#0")

if True:
crystallised_heimdallr_settings = HeimdallrSettings(setting_scope)
setup_mqtt_connection(settings=crystallised_heimdallr_settings)
Expand All @@ -372,9 +375,13 @@ def main(
host = ALL_CONSTANTS.SERVER_ADDRESS
port = ALL_CONSTANTS.SERVER_PORT

print("#1")

DEVELOPMENT = development
DASH_APP.layout = get_root_layout(DEVELOPMENT)

print("#2")

if development:
DASH_APP.run_server(
host=host,
Expand Down

0 comments on commit 3d444e3

Please sign in to comment.