Spaces:
Runtime error
Runtime error
philipp-zettl
commited on
Commit
•
6e658c0
1
Parent(s):
5d54c0e
Update src/text.py
Browse files- src/text.py +1 -2
src/text.py
CHANGED
@@ -123,7 +123,6 @@ def get_selectors_for_class(url, elem_class):
|
|
123 |
for c in elem.get('class'):
|
124 |
classes |= {f".{c}"}
|
125 |
if elem.get('id'):
|
126 |
-
|
127 |
-
ids |= {f"#{c}"}
|
128 |
|
129 |
return ids | classes
|
|
|
123 |
for c in elem.get('class'):
|
124 |
classes |= {f".{c}"}
|
125 |
if elem.get('id'):
|
126 |
+
ids |= {f"#{elem.get('id')}"}
|
|
|
127 |
|
128 |
return ids | classes
|