feat: App.HostName is now optional
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
parent
496ea38b5c
commit
a41417ee84
3 changed files with 6 additions and 4 deletions
1
main.py
1
main.py
|
@ -34,7 +34,6 @@ def main() -> None:
|
|||
|
||||
|
||||
def validate_config() -> None:
|
||||
# TODO: do some HostName checks or something
|
||||
# noinspection PyBroadException
|
||||
try:
|
||||
response = requests.get(f"http://{config.get('App', 'Host')}/status.json")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue