Skip to content

Commit fa2ca24

Browse files
authored
fix href matching prefix
1 parent 5c5262b commit fa2ca24

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)