aboutsummaryrefslogtreecommitdiffstats
path: root/python/report_ops
diff options
context:
space:
mode:
Diffstat (limited to 'python/report_ops')
-rw-r--r--python/report_ops/wires.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/report_ops/wires.py b/python/report_ops/wires.py
index 7e210ed7..78097026 100644
--- a/python/report_ops/wires.py
+++ b/python/report_ops/wires.py
@@ -90,7 +90,7 @@ class BowdstWire(Wire, BNY, fund="BOWDST", dtkey="%Y%m%d%H%M%S"):
class NTWire(Wire, NT, fund="ISOSEL", dtkey="%Y%m%d%H%M"):
@classmethod
- def from_passport_line(cls, line: dict):
+ def from_report_line(cls, line: dict):
return cls(
date=line["Through date"],
entry_date=line["D-GL-POST"],
@@ -109,5 +109,5 @@ class NTWire(Wire, NT, fund="ISOSEL", dtkey="%Y%m%d%H%M"):
reader = DictReader(fh)
for line in reader:
if "sponsor" in line["narrative"].lower():
- cls.from_passport_line(line).stage()
+ cls.from_report_line(line).stage()
cls.commit()