mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Fixed info output for Dual Stack
This commit is contained in:
parent
c8f9e9c391
commit
d8f53a56d2
@ -37,3 +37,4 @@ minor_release_name: "Soyeon"
|
|||||||
notes:
|
notes:
|
||||||
- "[Feature] Made image upload part of regular API"
|
- "[Feature] Made image upload part of regular API"
|
||||||
- "[Bugfix] Additional entity name sanitization"
|
- "[Bugfix] Additional entity name sanitization"
|
||||||
|
- "[Bugfix] Fixed image display on Safari"
|
||||||
|
@ -137,7 +137,7 @@ def print_info():
|
|||||||
print(col['lightblue']("Configuration Directory:"),conf.dir_settings['config'])
|
print(col['lightblue']("Configuration Directory:"),conf.dir_settings['config'])
|
||||||
print(col['lightblue']("Data Directory: "),conf.dir_settings['state'])
|
print(col['lightblue']("Data Directory: "),conf.dir_settings['state'])
|
||||||
print(col['lightblue']("Log Directory: "),conf.dir_settings['logs'])
|
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(col['lightblue']("Timezone: "),f"UTC{conf.malojaconfig['timezone']:+d}")
|
||||||
print()
|
print()
|
||||||
print()
|
print()
|
||||||
|
Loading…
Reference in New Issue
Block a user