mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Adds check message for internet as it may take a minute.
This commit is contained in:
parent
333cd33be3
commit
c93ce1613d
3
main.py
3
main.py
@ -131,6 +131,9 @@ if __name__ == '__main__':
|
|||||||
# this should always be last
|
# this should always be last
|
||||||
tasks_manager.start_main_kill_switch_watcher()
|
tasks_manager.start_main_kill_switch_watcher()
|
||||||
|
|
||||||
|
logger.info("Checking Internet/Port Service. This may take a minute.")
|
||||||
|
console.info("Checking Internet/Port Service. This may take a minute.")
|
||||||
|
|
||||||
if not helper.check_internet():
|
if not helper.check_internet():
|
||||||
console.error("We have detected the machine running Crafty has no connection to the internet. Client connections to the server may be limited.")
|
console.error("We have detected the machine running Crafty has no connection to the internet. Client connections to the server may be limited.")
|
||||||
elif not helper.check_port(helper.get_setting('https_port')):
|
elif not helper.check_port(helper.get_setting('https_port')):
|
||||||
|
Loading…
Reference in New Issue
Block a user