Corrected commit "Bugfixes in Client, Cloudflare page example"
This commit is contained in:
parent
3c972c83f0
commit
e171da578b
1 changed files with 1 additions and 5 deletions
|
@ -193,11 +193,7 @@ class Client:
|
||||||
serverstree = lxml.html.fromstring(serverspage.content)
|
serverstree = lxml.html.fromstring(serverspage.content)
|
||||||
|
|
||||||
servers = serverstree.xpath(
|
servers = serverstree.xpath(
|
||||||
<<<<<<< HEAD
|
|
||||||
'/html/body/div[1]/main/div[3]/section/div[1]/div[2]/div'
|
|
||||||
=======
|
|
||||||
'//div[@class="servers"]/div'
|
'//div[@class="servers"]/div'
|
||||||
>>>>>>> f731f1b (Bugfixes in Client, Cloudflare page example)
|
|
||||||
'/div[@class="server-body"]/@data-id'
|
'/div[@class="server-body"]/@data-id'
|
||||||
)
|
)
|
||||||
self.refresh_servers(servers)
|
self.refresh_servers(servers)
|
||||||
|
@ -235,7 +231,7 @@ class Client:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
return AternosServer(servid, self.atconn)
|
return AternosServer(servid, self.atconn)
|
||||||
|
|
||||||
def logout(self) -> None:
|
def logout(self) -> None:
|
||||||
|
|
||||||
"""Logouts from Aternos account"""
|
"""Logouts from Aternos account"""
|
||||||
|
|
Reference in a new issue