Skip to content

Commit

Permalink
qa
Browse files Browse the repository at this point in the history
  • Loading branch information
floriankrb committed Feb 26, 2024
1 parent 6b5074d commit 4ed3a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion climetlab/sources/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def cos_solar_zenith_angle(self, date):
return result.flatten()

def __getattr__(self, name):
if not "+" in name and not "-" in name:
if "+" not in name and "-" not in name:
# If we are here, we are looking for a method that does not exist,
# it has to be a method with a time delta.
raise AttributeError(name)
Expand Down

0 comments on commit 4ed3a79

Please sign in to comment.