Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

Commit 210cab9

Browse files
authored
Fixing #42
solution made by #42 (comment) I think this problem is made by aternos update
1 parent a6ec9a1 commit 210cab9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python_aternos/atclient.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,7 @@ def list_servers(self, cache: bool = True) -> List[AternosServer]:
193193
serverstree = lxml.html.fromstring(serverspage.content)
194194

195195
servers = serverstree.xpath(
196-
'//div[@class="servers"]/div'
197-
'/div[@class="server-body"]/@data-id'
196+
'//div[@class="server-body"]/@data-id'
198197
)
199198
self.refresh_servers(servers)
200199

0 commit comments

Comments
 (0)