chellow 1714406616.0.0__py3-none-any.whl → 1714470909.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.
chellow/general_import.py CHANGED
@@ -374,10 +374,14 @@ def general_import_era(sess, action, vals, args):
374
374
  ssc_code = add_arg(args, "Standard Settlement Configuration", vals, 12)
375
375
  if ssc_code == NO_CHANGE:
376
376
  ssc = existing_era.ssc
377
+ if ssc is None:
378
+ ssc_code = None
379
+ else:
380
+ ssc_code = ssc.code
377
381
  elif len(ssc_code) > 0:
378
- ssc = Ssc.get_by_code(sess, ssc_code)
382
+ Ssc.get_by_code(sess, ssc_code)
379
383
  else:
380
- ssc = None
384
+ ssc_code = None
381
385
 
382
386
  es_code = add_arg(args, "Energisation Status", vals, 13)
383
387
  if es_code == NO_CHANGE:
@@ -513,7 +517,7 @@ def general_import_era(sess, action, vals, args):
513
517
  mtc_code,
514
518
  cop,
515
519
  comm,
516
- ssc,
520
+ ssc_code,
517
521
  energisation_status,
518
522
  properties,
519
523
  imp_mpan_core,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: chellow
3
- Version: 1714406616.0.0
3
+ Version: 1714470909.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)
@@ -4,7 +4,7 @@ chellow/bank_holidays.py,sha256=T_utYMwe_g1dz5X-aOTdIPryg49SvB7QsWM1yphlqG8,4423
4
4
  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
- chellow/general_import.py,sha256=xx4R0kQ6WKIty1UdXoF0igGJQZGm9lDNGynMi7LP0k8,65700
7
+ chellow/general_import.py,sha256=FuDinyFxWJ22plUojTaH6wchU-5AQuHuaI_RjVEeJi8,65818
8
8
  chellow/models.py,sha256=POIL0dfwZFuqht7xHZaE6KJ7fk4kxMZC2aXzgg5kEFY,236921
9
9
  chellow/national_grid.py,sha256=uxcv0qisHPyzw9AVIYPzsRqwt2XPAcZL-SBR12qcrS0,4364
10
10
  chellow/proxy.py,sha256=cVXIktPlX3tQ1BYcwxq0nJXKE6r3DtFTtfFHPq55HaM,1351
@@ -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-1714406616.0.0.dist-info/METADATA,sha256=0t5Xd-Xx28Z2Q07kyZH4C_kjD4Pc2gwTJXo3VB9HdbU,12205
367
- chellow-1714406616.0.0.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
368
- chellow-1714406616.0.0.dist-info/RECORD,,
366
+ chellow-1714470909.0.0.dist-info/METADATA,sha256=PSjGjb6-c3psTPFGyoKg-bktL3qTUbDmXUpzJrQkVDQ,12205
367
+ chellow-1714470909.0.0.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
368
+ chellow-1714470909.0.0.dist-info/RECORD,,