diff --git a/main.py b/main.py index 6218bc6..dab9d49 100644 --- a/main.py +++ b/main.py @@ -16,7 +16,7 @@ def get_token(self, email, password, server="https://my.farm.bot"): token_data = self.api.get_token(email, password, server) - self.token = token_data + self.token = self.api.api_connect.token self.error = self.api.api_connect.error # Set broker tokens