From 210cab97ccd55e364665df98cf54d9ef99fccf20 Mon Sep 17 00:00:00 2001 From: Forsteri123 <62882800+Ruochenfu2011@users.noreply.github.com> Date: Mon, 1 Aug 2022 19:52:09 +0800 Subject: [PATCH] Fixing #42 solution made by https://github.com/DarkCat09/python-aternos/issues/42#issuecomment-1200433909 I think this problem is made by aternos update --- python_aternos/atclient.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python_aternos/atclient.py b/python_aternos/atclient.py index 8a0eb34..9809ec6 100644 --- a/python_aternos/atclient.py +++ b/python_aternos/atclient.py @@ -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)