chellow 1694166914.0.0__py3-none-any.whl → 1694171048.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.

Potentially problematic release.


This version of chellow might be problematic. Click here for more details.

@@ -28,7 +28,8 @@ def parse_date(row, idx, is_finish=False):
28
28
  return validate_hh_start(dt)
29
29
  except ValueError as e:
30
30
  raise BadRequest(
31
- f"Difficulty parsing a date in the row {row} at position " f"{idx}: {e}"
31
+ f"Difficulty parsing a date in the row {row} at position {idx}. The "
32
+ f"spreadsheet format is 'YYYY-MM-DD HH:MM'. {e}"
32
33
  )
33
34
 
34
35
 
@@ -123,6 +124,7 @@ class Parser:
123
124
  def to_decimal(self, dec_index, dec_name, is_money=False):
124
125
  try:
125
126
  dec_str = self.vals[dec_index]
127
+ dec_str = dec_str.replace(",", "")
126
128
  dec = Decimal(dec_str)
127
129
  if is_money:
128
130
  dec += Decimal("0.00")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: chellow
3
- Version: 1694166914.0.0
3
+ Version: 1694171048.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)
@@ -39,7 +39,7 @@ chellow/e/bill_parsers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
39
39
  chellow/e/bill_parsers/activity_mop_stark_xlsx.py,sha256=UgWXDPzQkQghyj_lfgBqoSJpHB-t-qOdSaB8qY6GLog,4071
40
40
  chellow/e/bill_parsers/annual_mop_stark_xlsx.py,sha256=-HMoIfa_utXYKA44RuC0Xqv3vd2HLeQU_4P0iBUd3WA,4219
41
41
  chellow/e/bill_parsers/bgb_edi.py,sha256=GuwHeYbAGk7BVg5n19FcTANFDyKI-y0z3f9niQaPSSw,4828
42
- chellow/e/bill_parsers/csv.py,sha256=C86VGyqHBE_PklPxEOfXVKJ4l4Ll9BE1Z0lpCj86EOs,5132
42
+ chellow/e/bill_parsers/csv.py,sha256=JuWZ0SMh0EmkRJQYtCqd5GLFimlicl7Jh8OnN3jgv34,5237
43
43
  chellow/e/bill_parsers/engie_edi.py,sha256=jUPSNYecxxn8CwOs_VtlMVlEGjj2S9T3c-Kt654MeTs,13911
44
44
  chellow/e/bill_parsers/engie_xls.py,sha256=jrut2heH_ZWmSjcn7celOydZS9Y49GfpYjDk_EKwamI,14453
45
45
  chellow/e/bill_parsers/engie_xlsx.py,sha256=eo74EnxttXbdUnpvInjuIxG-lIfBdtAKGajedflZCxo,15850
@@ -354,6 +354,6 @@ chellow/templates/g/supply_note_edit.html,sha256=6UQf_qbhFDys3cVsTp-c7ABWZpggW9R
354
354
  chellow/templates/g/supply_notes.html,sha256=WR3YwGh_qqTklSJ7JqWX6BKBc9rk_jMff4RiWZiF2CM,936
355
355
  chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
356
356
  chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
357
- chellow-1694166914.0.0.dist-info/METADATA,sha256=fB8SXno-mjBUKdGZj_G_0PXLlTmr2SwqVqphK3m2oYU,12160
358
- chellow-1694166914.0.0.dist-info/WHEEL,sha256=9QBuHhg6FNW7lppboF2vKVbCGTVzsFykgRQjjlajrhA,87
359
- chellow-1694166914.0.0.dist-info/RECORD,,
357
+ chellow-1694171048.0.0.dist-info/METADATA,sha256=g2tiB_7yy-Q4ljF_Gmpp7WE84D7lMxFesR6bwYDGpsc,12160
358
+ chellow-1694171048.0.0.dist-info/WHEEL,sha256=9QBuHhg6FNW7lppboF2vKVbCGTVzsFykgRQjjlajrhA,87
359
+ chellow-1694171048.0.0.dist-info/RECORD,,