chellow 1720600044.0.0__py3-none-any.whl → 1721045482.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/reports/report_81.py +2 -2
- chellow/reports/report_ecoes_comparison.py +1 -3
- {chellow-1720600044.0.0.dist-info → chellow-1721045482.0.0.dist-info}/METADATA +1 -1
- {chellow-1720600044.0.0.dist-info → chellow-1721045482.0.0.dist-info}/RECORD +5 -5
- {chellow-1720600044.0.0.dist-info → chellow-1721045482.0.0.dist-info}/WHEEL +0 -0
chellow/reports/report_81.py
CHANGED
|
@@ -12,7 +12,7 @@ from werkzeug.exceptions import BadRequest
|
|
|
12
12
|
|
|
13
13
|
from chellow.dloads import open_file
|
|
14
14
|
from chellow.e.computer import SupplySource, contract_func, forecast_date
|
|
15
|
-
from chellow.models import Contract, Era,
|
|
15
|
+
from chellow.models import Contract, Era, RSession, User
|
|
16
16
|
from chellow.utils import c_months_u, csv_make_val, hh_format, hh_max, hh_min, req_int
|
|
17
17
|
from chellow.views import chellow_redirect
|
|
18
18
|
|
|
@@ -21,7 +21,7 @@ def content(user_id, contract_id, end_year, end_month, months):
|
|
|
21
21
|
caches = {}
|
|
22
22
|
f = supply_source = None
|
|
23
23
|
try:
|
|
24
|
-
with
|
|
24
|
+
with RSession() as sess:
|
|
25
25
|
contract = Contract.get_dc_by_id(sess, contract_id)
|
|
26
26
|
|
|
27
27
|
month_list = list(
|
|
@@ -470,10 +470,8 @@ def _process(
|
|
|
470
470
|
diffs.append("gsp_group")
|
|
471
471
|
|
|
472
472
|
chellow_msn = era.msn
|
|
473
|
-
if chellow_msn is None:
|
|
474
|
-
chellow_msn = ""
|
|
475
473
|
|
|
476
|
-
if chellow_msn != ecoes["msn"]:
|
|
474
|
+
if chellow_msn.split(",")[0] != ecoes["msn"]:
|
|
477
475
|
problem += "The meter serial numbers don't match. "
|
|
478
476
|
diffs.append("msn")
|
|
479
477
|
if mpan_spaces not in ignore_mpan_cores_msn:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: chellow
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1721045482.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)
|
|
@@ -85,7 +85,7 @@ chellow/reports/report_387.py,sha256=kmBZopb0AOivcowO2nPjRj6LnV0_QjCDXLwqPL7IGVE
|
|
|
85
85
|
chellow/reports/report_41.py,sha256=QQeTshA1Og7N3wPaoZ8ynJzwsvZ1mgSFc7DDkVqIZoM,7447
|
|
86
86
|
chellow/reports/report_429.py,sha256=8WlLqyfMyvIF5Kc6CE0MKwcT5xwmR_Ao99Ef72yAOVc,12668
|
|
87
87
|
chellow/reports/report_59.py,sha256=CCFPUspUFgoMt6sMFsdtLYW-inA9rN6D-6Kted6vskA,45458
|
|
88
|
-
chellow/reports/report_81.py,sha256=
|
|
88
|
+
chellow/reports/report_81.py,sha256=NkT6dZeMo7Z0AkJemD_Xv8Ut5PIZ9vn8Ia1Q_DS9v54,5611
|
|
89
89
|
chellow/reports/report_87.py,sha256=j2gdBOapaVY1ZnlNlw14RPx58_k8eUkc3oRSnKuCsNA,7057
|
|
90
90
|
chellow/reports/report_asset_comparison.py,sha256=UN298MHuzyUDUiiZr7F_Ua6SrdVOlFLjgKjnIbrA-14,6118
|
|
91
91
|
chellow/reports/report_batches.py,sha256=7O5TcB9W1sPKS0LQMsC6sUDzx73X5iyoZE0O3zK91zs,4798
|
|
@@ -93,7 +93,7 @@ chellow/reports/report_bills.py,sha256=AHW6tiZAOE0gXDfencPvemE4zqK6eTqfN8_bWQ4RT
|
|
|
93
93
|
chellow/reports/report_csv_llfcs.py,sha256=OHSbP64lQ6dlAMcQYgvdANlA4lQyF0iBlwk7V9c9nuo,1944
|
|
94
94
|
chellow/reports/report_csv_site_hh_data.py,sha256=T-clGDmYdn0ej7zZfL3kDp4Vyd82WzptxEzxx9KqAZg,4270
|
|
95
95
|
chellow/reports/report_csv_site_snags.py,sha256=gG2sYQrLoIBwCoMUC8rhmAL7Kffh_rvNb9UOX7cYDko,2668
|
|
96
|
-
chellow/reports/report_ecoes_comparison.py,sha256=
|
|
96
|
+
chellow/reports/report_ecoes_comparison.py,sha256=PGDJKI2f6DCVCH0xcp--BzXWAWFfTDGgcKVQnfqxBKg,21653
|
|
97
97
|
chellow/reports/report_g_monthly_duration.py,sha256=vI5FKAU8_oThjR5oflPZont7Z7sVAunr0qlMfJsaPJI,12004
|
|
98
98
|
chellow/reports/report_g_supplies_snapshot.py,sha256=0M0x_0o0985Hu45gUJJJwzfx0DDOAuXBJ1UVUDbQ36g,4718
|
|
99
99
|
chellow/reports/report_g_supply_virtual_bill.py,sha256=x_KtQ02dwgmXvAEUXJ1poK0BRwqxa-GcbJ5pddEina0,3694
|
|
@@ -364,6 +364,6 @@ chellow/templates/g/supply_note_edit.html,sha256=b8mB6_ucBwoljp03iy6AgVaZUhGw3-1
|
|
|
364
364
|
chellow/templates/g/supply_notes.html,sha256=6epNmZ3NKdXZz27fvmRUGeffg_oc1kmwuBeyRzQe3Rg,854
|
|
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-
|
|
368
|
-
chellow-
|
|
369
|
-
chellow-
|
|
367
|
+
chellow-1721045482.0.0.dist-info/METADATA,sha256=MCDoXQp2ZxQmbo2xUOsJglW0_jrPAGJv4L4XYVDVdjY,12205
|
|
368
|
+
chellow-1721045482.0.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
369
|
+
chellow-1721045482.0.0.dist-info/RECORD,,
|
|
File without changes
|