Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Oct 9, 2023
1 parent e9ed6f0 commit 28984fc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/get_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,19 +220,19 @@ def create_new_site(
if max_ml_id is None:
max_ml_id = 0

if region is None:
if region in [None, ""]:
region = "uk"

if orientation is None:
if orientation in [None, ""]:
orientation = 180

if tilt is None:
if tilt in [None, ""]:
tilt = 35

if inverter_capacity_kw is None:
if inverter_capacity_kw in [None, ""]:
inverter_capacity_kw = capacity_kw

if module_capacity_kw is None:
if module_capacity_kw in [None, ""]:
module_capacity_kw = capacity_kw

if gsp is None:
Expand Down

0 comments on commit 28984fc

Please sign in to comment.