diff --git a/controllers/ngrok_controller.py b/controllers/ngrok_controller.py index 23e7bf0..60868d9 100644 --- a/controllers/ngrok_controller.py +++ b/controllers/ngrok_controller.py @@ -19,18 +19,20 @@ class NgrokController: try: self._model.disconnect(self._ngrok_url) except self._exceptions.PyngrokError: - print("Can't find any latest connections.") # FIXME replace with View entry + # FIXME replace with View entry + print("Can't find any latest connections.") pass def maintain_default_config(self): self._installer.install_default_config(self._config_path) - def activate_config_path(self): - self._ngrok_config = self._config.PyngrokConfig(config_path=self._config_path) + self._ngrok_config = self._config.PyngrokConfig( + config_path=self._config_path) def establish_connection(self, port='80'): - self._model.connect(port=port, name='HiddenEye Connection', pyngrok_config=self._ngrok_config) + self._model.connect(port=port, name='HiddenEye Connection', + pyngrok_config=self._ngrok_config) def obtain_tunnels(self): self._tunnels = self._model.get_tunnels() @@ -41,4 +43,3 @@ class NgrokController: def obtain_ngrok_url(self): self._ngrok_url = self._tunnels[0] -