Skip to content

Commit

Permalink
add brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Dec 1, 2023
1 parent 2ecce9f commit a4fb2c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pv_site_api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ def get_pv_actual_many_sites(
sum_by: can be None, 'total', 'dno' or 'gsp'
"""
if site_uuids == "[]" or site_uuids == "":
if (site_uuids == "[]") or (site_uuids == ""):
return []

# convert to list of strings
Expand Down

0 comments on commit a4fb2c4

Please sign in to comment.