aboutsummaryrefslogtreecommitdiff
path: root/src/ee
diff options
context:
space:
mode:
Diffstat (limited to 'src/ee')
-rw-r--r--src/ee/digikey/__init__.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ee/digikey/__init__.py b/src/ee/digikey/__init__.py
index 3b1c52c..003394e 100644
--- a/src/ee/digikey/__init__.py
+++ b/src/ee/digikey/__init__.py
@@ -219,8 +219,9 @@ class DigikeyClient(object):
tds = tr.xpath("th|td")
if len(tds) != 3:
continue
- label = tds[0].text.strip()
- value = tds[1].text.strip()
+
+ label = _to_string(tds[0])
+ value = _to_string(tds[1])
if len(label) == 0 or len(value) == 0:
continue