chellow 1761338924.0.0__py3-none-any.whl → 1761571905.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.

@@ -689,11 +689,11 @@ def _process_period(
689
689
  for elname, val_elem in val_elems.items():
690
690
  for part_name, part in val_elem["parts"].items():
691
691
  if part_name == "gbp":
692
- default = 0
692
+ virtual_part = round(part.get("virtual", 0), 2)
693
+ actual_part = part.get("actual", 0)
693
694
  else:
694
- default = None
695
- virtual_part = part.get("virtual", default)
696
- actual_part = part.get("actual", default)
695
+ virtual_part = part.get("virtual")
696
+ actual_part = part.get("actual")
697
697
 
698
698
  if isinstance(virtual_part, set) and len(virtual_part) == 1:
699
699
  virtual_part = next(iter(virtual_part))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chellow
3
- Version: 1761338924.0.0
3
+ Version: 1761571905.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)
@@ -78,7 +78,7 @@ chellow/gas/transportation.py,sha256=uWFh0v-ViA02nH9Vof9JG3PiyAPXwhYZ1SvPxuzsQ0I
78
78
  chellow/gas/views.py,sha256=GeCvi6BGTUN7bu7sVkypNckwG3Crl6AbUcRob9qMi0E,59733
79
79
  chellow/reports/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
80
80
  chellow/reports/report_109.py,sha256=Exb-FQ5f70-ier_h15CgHGysQ7vJ7k3gFZ1001zM3iM,11171
81
- chellow/reports/report_111.py,sha256=I1a6ajORfxDJNdijHGm728Xx5MfSHLSRgWtA_ohxax4,26445
81
+ chellow/reports/report_111.py,sha256=KQk8nh7lAKw9vEf5WTjtZqYwkAAM-OBjnW7pvT0jgEY,26492
82
82
  chellow/reports/report_169.py,sha256=wortJyvgXTrnjjXhLzqwaksKKu63K5IgdzU5f4SkHMI,9246
83
83
  chellow/reports/report_181.py,sha256=ypfYWYVNC1X2fMlJyDzwNiNTTRrpPW49DirXE_xDKa0,4958
84
84
  chellow/reports/report_183.py,sha256=fGONpKEIXTqIT_3dE5jZKBIesWPgLq-chHO6X22dIv0,8768
@@ -400,6 +400,6 @@ chellow/templates/g/supply_notes.html,sha256=6epNmZ3NKdXZz27fvmRUGeffg_oc1kmwuBe
400
400
  chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
401
401
  chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
402
402
  chellow/templates/reports/channel_snags.html,sha256=_aAgFgMlTkK2HuKFU8YisAIcUYfg6Hqhgyf5MZpdK8c,2629
403
- chellow-1761338924.0.0.dist-info/METADATA,sha256=Y3aJGfAXFmhpyUvNacl8BUCN0jttvfj5N6fRczygvgg,12428
404
- chellow-1761338924.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
405
- chellow-1761338924.0.0.dist-info/RECORD,,
403
+ chellow-1761571905.0.0.dist-info/METADATA,sha256=zF0jYUZjuRLFP1-5_eIwwiv4f0UVi2SY9lvTEHPO5oY,12428
404
+ chellow-1761571905.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
405
+ chellow-1761571905.0.0.dist-info/RECORD,,