From e171da578b38068569c07f1e8e8073c7e2609000 Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Tue, 26 Jul 2022 10:14:26 +0400 Subject: [PATCH] Corrected commit "Bugfixes in Client, Cloudflare page example" --- python_aternos/atclient.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/python_aternos/atclient.py b/python_aternos/atclient.py index 91f041c..8a0eb34 100644 --- a/python_aternos/atclient.py +++ b/python_aternos/atclient.py @@ -193,11 +193,7 @@ class Client: serverstree = lxml.html.fromstring(serverspage.content) servers = serverstree.xpath( -<<<<<<< HEAD - '/html/body/div[1]/main/div[3]/section/div[1]/div[2]/div' -======= '//div[@class="servers"]/div' ->>>>>>> f731f1b (Bugfixes in Client, Cloudflare page example) '/div[@class="server-body"]/@data-id' ) self.refresh_servers(servers) @@ -235,7 +231,7 @@ class Client: """ return AternosServer(servid, self.atconn) - + def logout(self) -> None: """Logouts from Aternos account"""