Replaced old simple_informant.verify_connection() method with new ConnectionController().verify_connection() function

This commit is contained in:
sTiKyt 2020-08-13 23:02:33 +03:00
parent f9c8f29f58
commit 3ad9887576
No known key found for this signature in database
GPG Key ID: 510E1C3C9B2414B4

View File

@ -13,7 +13,7 @@ import Defs.ActionManager.Server.server_runner as server_runner
import Defs.ActionManager.simple_informant as simple_informant
import Defs.FeatureManager.feature_prompt as prompt
from controllers.EULA_controller import EULAController
from controllers.connection_controller import ConnectionController
if EULAController().check_eula_existence() is False:
EULAController().generate_new_eula()
if EULAController().check_eula_confirmation() is False:
@ -27,7 +27,7 @@ if EULAController().check_eula_confirmation() is False:
# verCheck() # For now it's useless, i'll rewrite it later, after release.
simple_informant.check_php() # FIXME we have to replace PHP with Python
# checkLocalxpose()
simple_informant.verify_connection()
ConnectionController().verify_connection()
# checkOpenport()
# checkPagekite()
# checkLT()