chellow 1743064888.0.0__py3-none-any.whl → 1743424861.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/bmarketidx.py CHANGED
@@ -229,7 +229,5 @@ def startup():
229
229
 
230
230
  @atexit.register
231
231
  def shutdown():
232
- global bmarketidx_importer
233
-
234
232
  if bmarketidx_importer is not None:
235
233
  bmarketidx_importer.stop()
chellow/e/computer.py CHANGED
@@ -1575,6 +1575,16 @@ def _find_hhs(caches, sess, pairs, chunk_start, chunk_finish):
1575
1575
  if hh_after(pairs[-1]["start-date"], chunk_finish):
1576
1576
  del pairs[-1]
1577
1577
 
1578
+ # If nothing left
1579
+ if len(pairs) == 0:
1580
+ pairs.append(
1581
+ {
1582
+ "start-date": chunk_start,
1583
+ "finish-date": chunk_finish,
1584
+ "tprs": {"00001": 0},
1585
+ }
1586
+ )
1587
+
1578
1588
  # squash
1579
1589
  if hh_before(pairs[0]["start-date"], chunk_start):
1580
1590
  pairs[0]["start-date"] = chunk_start
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chellow
3
- Version: 1743064888.0.0
3
+ Version: 1743424861.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)
@@ -16,11 +16,11 @@ chellow/views.py,sha256=2WCU-_8lDuSDROvNlCGsAQVLSMh5qrD2wmeSr2G-umA,83872
16
16
  chellow/e/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  chellow/e/aahedc.py,sha256=d2usudp7KYWpU6Pk3fal5EQ47EbvkvKeaFGylnb3NWw,606
18
18
  chellow/e/bill_importer.py,sha256=7UcnqNlKbJc2GhW9gy8sDp9GuqambJVpZLvbafOZztA,7411
19
- chellow/e/bmarketidx.py,sha256=C0BaHn2RxIuWH2QzA-OmSP0fbUGvW9tqEUhLnzOEdmA,7968
19
+ chellow/e/bmarketidx.py,sha256=9PDY-JKQwcQhGpgJEj8EktQXrUITBvQ35YryzTxwle8,7936
20
20
  chellow/e/bsuos.py,sha256=hdP9vnOJSuZl46OAkJeUg1XJYvYIBj4J6Sqce1Hy9Vs,15542
21
21
  chellow/e/ccl.py,sha256=30dh_SvlgzsTQPPAJNZWILaMvbeDsv9-P-S1JxS5_SQ,3184
22
22
  chellow/e/cfd.py,sha256=Gm435c42LFwZx1n-1UY1Tdx6mL1is7E0vRLWQe8RPOo,14184
23
- chellow/e/computer.py,sha256=KkYNaD4W13s_BvtyPrYbfZ9MU73hKi-IIL-g4OOQxBA,67787
23
+ chellow/e/computer.py,sha256=aGti5aXRTdC85M-WRiAoZkC_76sqfAiP-79ggWZF09Q,68020
24
24
  chellow/e/dno_rate_parser.py,sha256=A5TP6KjyfT5lVWh7dX4SiXRi6wnf2lGv-H_T4Sod8CI,21731
25
25
  chellow/e/duos.py,sha256=RHrn93I1ASO2uYkuF18qlhG4p-jpuJhd_g3o69wtP4U,31004
26
26
  chellow/e/elexon.py,sha256=ALhXS9Es7PV0z9ukPbIramn3cf3iLyFi-PMWPSm5iOs,5487
@@ -378,6 +378,6 @@ chellow/templates/g/supply_note_edit.html,sha256=b8mB6_ucBwoljp03iy6AgVaZUhGw3-1
378
378
  chellow/templates/g/supply_notes.html,sha256=6epNmZ3NKdXZz27fvmRUGeffg_oc1kmwuBeyRzQe3Rg,854
379
379
  chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
380
380
  chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
381
- chellow-1743064888.0.0.dist-info/METADATA,sha256=oHexYBTO180YrkMUw4nfb367QAhustBqHytoVAu2Aao,12238
382
- chellow-1743064888.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
383
- chellow-1743064888.0.0.dist-info/RECORD,,
381
+ chellow-1743424861.0.0.dist-info/METADATA,sha256=Dbr5CG7Z4lWIk6ZmhzrC_pAJ2YXB8LJlYZ_Qk4nN7cE,12238
382
+ chellow-1743424861.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
383
+ chellow-1743424861.0.0.dist-info/RECORD,,