chellow 1713470986.0.0__py3-none-any.whl → 1713861169.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.

chellow/e/triad.py CHANGED
@@ -68,10 +68,14 @@ def _process_triad_hh(ds, rate_period, est_kw, hh):
68
68
  chellow.e.duos.duos_vb(d)
69
69
  triad_hh = d.hh_data[0]
70
70
 
71
- while dt < financial_year_start:
72
- dt += relativedelta(years=1)
71
+ fdt = dt
72
+ while fdt < financial_year_start:
73
+ fdt += relativedelta(years=1)
73
74
 
74
- for d in ds.get_data_sources(dt, dt, financial_year_start):
75
+ while fdt.weekday() != dt.weekday():
76
+ fdt += relativedelta(days=1)
77
+
78
+ for d in ds.get_data_sources(fdt, fdt, financial_year_start):
75
79
  chellow.e.duos.duos_vb(d)
76
80
  datum = d.hh_data[0]
77
81
  triad_hh["laf"] = datum["laf"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: chellow
3
- Version: 1713470986.0.0
3
+ Version: 1713861169.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)
@@ -37,7 +37,7 @@ chellow/e/scenario.py,sha256=1tUxnvwTzr6cKqiw2wphdv5XDzV6JO6UVYkyQa67vHs,23263
37
37
  chellow/e/system_price.py,sha256=6w5J7bzwFAZubE2zdOFRiS8IIrVP8hkoIOaG2yCt-Ic,6232
38
38
  chellow/e/tlms.py,sha256=M33D6YpMixu2KkwSCzDRM3kThLgShg8exp63Obo75l8,8905
39
39
  chellow/e/tnuos.py,sha256=XseYztPUsQXNKuBmystO2kzzwAG9ehCZgpGBTdgSk-A,4313
40
- chellow/e/triad.py,sha256=S6LEMHvUKhAZe0-yfLIRciYDZ8IKMn1jh1TmmsbQD3s,13588
40
+ chellow/e/triad.py,sha256=ehYZRQd0I65BkEBvx5CXhREIgEY8m3ImTk3jZcdBC8k,13708
41
41
  chellow/e/views.py,sha256=ccA5ebQA8Oefwi9L71rbStvHenDMB4rhAu0iRMandLc,213977
42
42
  chellow/e/bill_parsers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
43
43
  chellow/e/bill_parsers/activity_mop_stark_xlsx.py,sha256=UgWXDPzQkQghyj_lfgBqoSJpHB-t-qOdSaB8qY6GLog,4071
@@ -363,6 +363,6 @@ chellow/templates/g/supply_note_edit.html,sha256=6UQf_qbhFDys3cVsTp-c7ABWZpggW9R
363
363
  chellow/templates/g/supply_notes.html,sha256=WR3YwGh_qqTklSJ7JqWX6BKBc9rk_jMff4RiWZiF2CM,936
364
364
  chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
365
365
  chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
366
- chellow-1713470986.0.0.dist-info/METADATA,sha256=ByNk6hztVgBFxYsMfnRRmEOC1NT0bE1JVT27eitq3ZI,12205
367
- chellow-1713470986.0.0.dist-info/WHEEL,sha256=osohxoshIHTFJFVPhsi1UkZuLRGMHRXZzwEBW2ezjrc,87
368
- chellow-1713470986.0.0.dist-info/RECORD,,
366
+ chellow-1713861169.0.0.dist-info/METADATA,sha256=6HsFq53gBl956mQOtR2_5fizf-oSG1WKAGbZ0FgSDWs,12205
367
+ chellow-1713861169.0.0.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
368
+ chellow-1713861169.0.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.24.1
2
+ Generator: hatchling 1.24.2
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any