1
0

Fix procedura dopo codice debug.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Emiliano Vavassori 2023-01-05 01:33:26 +01:00
parent da31e1655b
commit 38a78860b0

View File

@ -125,9 +125,7 @@ class Build(loaih.RemoteBuild):
path_arr = [ self.storage_path, '' ]
path = str.join('/', path_arr)
print(f"DEBUG - Name: {name}, URL: {path}")
matching = etree.HTML(urllib.request.urlopen(
str.join('/', path)
).read()).xpath(
matching = etree.HTML(urllib.request.urlopen(path).read()).xpath(
f"//a[contains(@href, '{name}')/@href"
)