1
0
Fork 0

Fix procedura dopo codice debug.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Emiliano Vavassori 2023-01-05 01:33:26 +01:00
parent da31e1655b
commit 38a78860b0
1 changed files with 1 additions and 3 deletions

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"
)