Skip to content

Commit d1fc1ac

Browse files
authored
Merge pull request #35 from c0mm4nd/main
[Fix] href matching prefix
2 parents 5c5262b + fa2ca24 commit d1fc1ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def getLabel(label, label_type="account", input_type='single'):
7272
addrIndex = len(baseUrl + '/address/')
7373
for elem in elems:
7474
href = elem.get_attribute("href")
75-
if (href.startswith('baseUrl/address/')):
75+
if (href.startswith(baseUrl + '/address/')):
7676
addressList.append(href[addrIndex:])
7777

7878
# Quickfix: Optimism uses etherscan subcat style but differing address format

0 commit comments

Comments
 (0)