aboutsummaryrefslogtreecommitdiffstats
path: root/python/load_refentity.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/load_refentity.py')
-rw-r--r--python/load_refentity.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/load_refentity.py b/python/load_refentity.py
index 98387b6a..f5c998c8 100644
--- a/python/load_refentity.py
+++ b/python/load_refentity.py
@@ -96,7 +96,7 @@ def insert_refobligation(fname):
else e.text for e in el}
c2.execute(redpair_insert, [redpair.get(name) for name in names_redpair])
conn.commit()
- d['refentities'] = [el.text for el in d['refentities'].iterfind('.//redentitycode')]
+ d['refentities'] = [el.text for el in d['refentities'].iterfind('.//redpaircode')]
if 'prospectusinfo' in d:
d['prospectusinfo'] = parse_prospectus(d['prospectusinfo'])
c.execute(refobligation_insert, [d.get(name) for name in names_refobligation])