chellow 1715265400.0.0__py3-none-any.whl → 1715270858.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/views.py CHANGED
@@ -1174,7 +1174,7 @@ def dc_contract_edit_post(contract_id):
1174
1174
  name = req_str("name")
1175
1175
  charge_script = req_str("charge_script")
1176
1176
  party = Party.get_by_id(g.sess, party_id)
1177
- contract.update(name, party, charge_script, contract.properties)
1177
+ contract.update(name, party, charge_script, contract.make_properties())
1178
1178
  g.sess.commit()
1179
1179
  return chellow_redirect(f"/dc_contracts/{contract.id}", 303)
1180
1180
  except BadRequest as e:
chellow/models.py CHANGED
@@ -7404,7 +7404,8 @@ def db_upgrade_46_to_47(sess, root_path):
7404
7404
  if "meter_type" in props:
7405
7405
  mt_code = props["meter_type"]
7406
7406
  dtc_meter_type = DtcMeterType.find_by_code(sess, mt_code)
7407
- dtc_meter_type_id = dtc_meter_type.id
7407
+ if dtc_meter_type is not None:
7408
+ dtc_meter_type_id = dtc_meter_type.id
7408
7409
 
7409
7410
  if dtc_meter_type_id is None:
7410
7411
  mtc_participant = MtcParticipant.get_by_id(sess, mtc_participant_id)
@@ -29,7 +29,7 @@
29
29
 
30
30
  <form action="/e/channel_snags">
31
31
  <fieldset>
32
- <label>Show Channel Snags</label>
32
+ <legend>Show Channel Snags</legend>
33
33
  <input type="hidden" name="dc_contract_id" value="{{contract.id}}">
34
34
  <label>Hide snags &lt; days old</label>
35
35
  {{input_text('days_hidden', '0', 3, 3)}}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: chellow
3
- Version: 1715265400.0.0
3
+ Version: 1715270858.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)
@@ -5,7 +5,7 @@ chellow/commands.py,sha256=ESBe9ZWj1c3vdZgqMZ9gFvYAB3hRag2R1PzOwuw9yFo,1302
5
5
  chellow/dloads.py,sha256=5SmP-0QPK6xCkd_wjIWh_8FAzN5OxNHCzyEQ1Xb-Y-M,5256
6
6
  chellow/edi_lib.py,sha256=het3R0DBGtXEo-Sy1zvXQuX9EWQ1X6Y33G4l1hYYuds,51859
7
7
  chellow/general_import.py,sha256=l3EHq9zG9Vfl5Ee6XTVrC1nusXo4YGGB4VBmZ_JaJR8,65798
8
- chellow/models.py,sha256=fZpQAHf4gDoXJXH8GB2-wRPrBYD9o-n8QlvfcSctcxU,241038
8
+ chellow/models.py,sha256=Rq_ARe-MI73kalTW3Kpas-mTBdjFjBtaqSRAAn3SMzU,241085
9
9
  chellow/national_grid.py,sha256=uxcv0qisHPyzw9AVIYPzsRqwt2XPAcZL-SBR12qcrS0,4364
10
10
  chellow/proxy.py,sha256=cVXIktPlX3tQ1BYcwxq0nJXKE6r3DtFTtfFHPq55HaM,1351
11
11
  chellow/rate_server.py,sha256=fg-Pf_9Hk3bXmC9riPQNGQxBvLvBa_WtNYdwDCjnCSg,5678
@@ -38,7 +38,7 @@ chellow/e/system_price.py,sha256=6w5J7bzwFAZubE2zdOFRiS8IIrVP8hkoIOaG2yCt-Ic,623
38
38
  chellow/e/tlms.py,sha256=M33D6YpMixu2KkwSCzDRM3kThLgShg8exp63Obo75l8,8905
39
39
  chellow/e/tnuos.py,sha256=XseYztPUsQXNKuBmystO2kzzwAG9ehCZgpGBTdgSk-A,4313
40
40
  chellow/e/triad.py,sha256=lIQj7EdUrcFwEqleuHZXYU_bfzIwNOqUVVxB3NPQt4A,13710
41
- chellow/e/views.py,sha256=iKnzFWNvANSB0yNDhZHo5nKw1Ptl6Q8KHuK003ZTDfg,215030
41
+ chellow/e/views.py,sha256=es1lQWgZjCcHQ7AR_98SM9hLJjX8UUarePuBHnkkJ_4,215037
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
44
44
  chellow/e/bill_parsers/annual_mop_stark_xlsx.py,sha256=-HMoIfa_utXYKA44RuC0Xqv3vd2HLeQU_4P0iBUd3WA,4219
@@ -158,7 +158,7 @@ chellow/templates/e/channel_add.html,sha256=X1hi0b-ZjchlQ2m7uZYCyqkqU-Qd1s3_5u4z
158
158
  chellow/templates/e/channel_edit.html,sha256=OUkdiS2NBQ_w4gmxRxXAcRToM5BT8DWWJrtQMFs-GUU,2198
159
159
  chellow/templates/e/channel_snag.html,sha256=wBJ5KBfeJdAeRmaB0qu0AD9Z4nM5fn6tJ_8bNqTWtoo,1477
160
160
  chellow/templates/e/channel_snag_edit.html,sha256=sUFI4Ml3F1B35x8_t_Pz3hWuQN9Xtxr3kt4u8hdxNwY,1911
161
- chellow/templates/e/channel_snags.html,sha256=1dzC5FoCJ8bg6PBsQrVqGLn-DbPE2EHQklfm_pg3w0c,2899
161
+ chellow/templates/e/channel_snags.html,sha256=57bVmu2SwetdpWQbImMykO-qgY7wXi6Y9plRqykOGy4,2901
162
162
  chellow/templates/e/comm.html,sha256=DSlAaDg1r4KYq9VUgDtt2lgW6apZjZvwhMujIJINmps,383
163
163
  chellow/templates/e/comms.html,sha256=bUXZePnMfpKk1E71qLGOSkx8r3GxdPPD_-MosIXXq4s,434
164
164
  chellow/templates/e/cop.html,sha256=ULv7ALFJHMUgPX96hQNm2irc3edtKYHS6fYAxvmzj8M,376
@@ -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-1715265400.0.0.dist-info/METADATA,sha256=-mPr4AZvFkS1yRDvLfA0-QkwRoWo0cD2kVDFccv8sfo,12205
367
- chellow-1715265400.0.0.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
368
- chellow-1715265400.0.0.dist-info/RECORD,,
366
+ chellow-1715270858.0.0.dist-info/METADATA,sha256=7pXnjJTkxqCx_uY6SmT4duXmX6nnZVNVIhhx9Bm8vyE,12205
367
+ chellow-1715270858.0.0.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
368
+ chellow-1715270858.0.0.dist-info/RECORD,,