Fixing #42
solution made by https://github.com/DarkCat09/python-aternos/issues/42#issuecomment-1200433909 I think this problem is made by aternos update
This commit is contained in:
parent
a6ec9a1a0f
commit
210cab97cc
1 changed files with 1 additions and 2 deletions
|
@ -193,8 +193,7 @@ class Client:
|
|||
serverstree = lxml.html.fromstring(serverspage.content)
|
||||
|
||||
servers = serverstree.xpath(
|
||||
'//div[@class="servers"]/div'
|
||||
'/div[@class="server-body"]/@data-id'
|
||||
'//div[@class="server-body"]/@data-id'
|
||||
)
|
||||
self.refresh_servers(servers)
|
||||
|
||||
|
|
Reference in a new issue