chellow 1716903746.0.0__py3-none-any.whl → 1716906655.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@ from io import StringIO
5
5
 
6
6
  from werkzeug.exceptions import BadRequest
7
7
 
8
- from chellow.utils import HH, to_ct, to_utc
8
+ from chellow.utils import HH, parse_mpan_core, to_ct, to_utc
9
9
 
10
10
 
11
11
  def parse_date(date_str):
@@ -147,7 +147,7 @@ def _handle_0461(headers, pre_record, record):
147
147
  pres_read_date=DATE_LENGTH,
148
148
  prev_read_date=DATE_LENGTH,
149
149
  )
150
- mpan_core = parts["mpan_core"]
150
+ mpan_core = parse_mpan_core(parts["mpan_core"])
151
151
  headers["mpan_core"] = mpan_core
152
152
  units = CONSUMPTION_UNITS_LOOKUP[parts["units"].strip()]
153
153
  if units == "kwh":
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: chellow
3
- Version: 1716903746.0.0
3
+ Version: 1716906655.0.0
4
4
  Summary: Web Application for checking UK energy bills.
5
5
  Project-URL: Homepage, https://github.com/WessexWater/chellow
6
6
  Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
@@ -51,7 +51,7 @@ chellow/e/bill_parsers/gdf_csv.py,sha256=ZfK3Oc6oP28p_P9DIevLNB_zW2WLcEJ3Lvb1gL3
51
51
  chellow/e/bill_parsers/haven_csv.py,sha256=0uENq8IgVNqdxfBQMBxLTSZWCOuDHXZC0xzk52SbfyE,13652
52
52
  chellow/e/bill_parsers/haven_edi.py,sha256=YGPHRxPOhje9s32jqPHHELni2tooOYj3cMC_qaZVPq4,16107
53
53
  chellow/e/bill_parsers/haven_edi_tprs.py,sha256=ZVX9CCqUybsot_Z0BEOJPvl9x5kSr7fEWyuJXvZDcz4,11841
54
- chellow/e/bill_parsers/mm.py,sha256=DEy-W-Z03TdfUjtFUNk48h5nEAaXKV3etfrPZ-z001Q,8494
54
+ chellow/e/bill_parsers/mm.py,sha256=faCT5ZiMSDgIg5iiqXuL7c_t3PJBaVGvrndxr17A-bw,8528
55
55
  chellow/e/bill_parsers/nonsettlement_dc_stark_xlsx.py,sha256=yogXTuQHGRL7IiqvRWr2C9V24ez1j9Yx0128UygPE_k,4723
56
56
  chellow/e/bill_parsers/settlement_dc_stark_xlsx.py,sha256=gKeYMdUO4bVycV8n1lWs5AIfF3bHZLkM6tkasD4rhHs,6239
57
57
  chellow/e/bill_parsers/sse_edi.py,sha256=L85DOfNkqexeEIEr8pCBn_2sHJI-zEaw6cogpE3YyYM,15204
@@ -364,6 +364,6 @@ chellow/templates/g/supply_note_edit.html,sha256=6UQf_qbhFDys3cVsTp-c7ABWZpggW9R
364
364
  chellow/templates/g/supply_notes.html,sha256=WR3YwGh_qqTklSJ7JqWX6BKBc9rk_jMff4RiWZiF2CM,936
365
365
  chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
366
366
  chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
367
- chellow-1716903746.0.0.dist-info/METADATA,sha256=1b3az19NrZfzrNS1rPZPOjvDnuejOViqXe0ubM4A0-Q,12205
368
- chellow-1716903746.0.0.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
369
- chellow-1716903746.0.0.dist-info/RECORD,,
367
+ chellow-1716906655.0.0.dist-info/METADATA,sha256=0u8nBykmCixKsJ9gwZ2VIgj-2Ho1X5kTgovATHvJiuQ,12205
368
+ chellow-1716906655.0.0.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
369
+ chellow-1716906655.0.0.dist-info/RECORD,,