From d8f53a56d2e48fc42901c8b8197f2c0b9d03221e Mon Sep 17 00:00:00 2001 From: krateng Date: Mon, 5 Dec 2022 00:05:19 +0100 Subject: [PATCH] Fixed info output for Dual Stack --- dev/releases/3.1.yml | 1 + maloja/__main__.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dev/releases/3.1.yml b/dev/releases/3.1.yml index c90d9a1..04df9ae 100644 --- a/dev/releases/3.1.yml +++ b/dev/releases/3.1.yml @@ -37,3 +37,4 @@ minor_release_name: "Soyeon" notes: - "[Feature] Made image upload part of regular API" - "[Bugfix] Additional entity name sanitization" + - "[Bugfix] Fixed image display on Safari" diff --git a/maloja/__main__.py b/maloja/__main__.py index c6b48f9..7450eb6 100644 --- a/maloja/__main__.py +++ b/maloja/__main__.py @@ -137,7 +137,7 @@ def print_info(): print(col['lightblue']("Configuration Directory:"),conf.dir_settings['config']) print(col['lightblue']("Data Directory: "),conf.dir_settings['state']) print(col['lightblue']("Log Directory: "),conf.dir_settings['logs']) - print(col['lightblue']("Network: "),f"IPv{ip_address(conf.malojaconfig['host']).version}, Port {conf.malojaconfig['port']}") + print(col['lightblue']("Network: "),f"Dual Stack, Port {conf.malojaconfig['port']}" if conf.malojaconfig['host'] == "*" else f"IPv{ip_address(conf.malojaconfig['host']).version}, Port {conf.malojaconfig['port']}") print(col['lightblue']("Timezone: "),f"UTC{conf.malojaconfig['timezone']:+d}") print() print()