diff --git a/loaih/build.py b/loaih/build.py index 39ba440..b42acd3 100644 --- a/loaih/build.py +++ b/loaih/build.py @@ -126,7 +126,7 @@ class Build(loaih.RemoteBuild): path = str.join('/', path_arr) print(f"DEBUG - Name: {name}, URL: {path}") matching = etree.HTML(urllib.request.urlopen(path).read()).xpath( - f"//a[contains(@href, '{name}')/@href" + f"//a[contains(@href, '{name}')]/@href" ) if len(matching) > 0: