diff --git a/ibw/client.py b/ibw/client.py index 86d1d5e..3ce93a8 100644 --- a/ibw/client.py +++ b/ibw/client.py @@ -93,7 +93,7 @@ def __init__(self, username: str, account: str, client_gateway_path: str = None, ).resolve() # See if it exists. - if not self.client_portal_folder.exists(): + if not self.client_portal_folder.exists() and not self._is_server_running: print("The Client Portal Gateway doesn't exist. You need to download it before using the Library.") print("Downloading the Client Portal file...") self.client_portal_client.download_and_extract()