8000 fix silly syntax error · dacoex/pvlib-python@63da5e6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 63da5e6

Browse files
committed
fix silly syntax error
1 parent 3f96b89 commit 63da5e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pvlib/location.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def get_airmass(self, times=None, solar_position=None,
228228
zenith = solar_position['apparent_zenith']
229229
elif model in trues:
230230
zenith = solar_position['zenith']
231-
else
231+
else:
232232
raise ValueError('invalid model %s', model)
233233

234234
airmass_relative = atmosphere.relativeairmass(zenith, model)

0 commit comments

Comments
 (0)
0