Skip to content

Commit

Permalink
fix sites parameter check in get_stats
Browse files Browse the repository at this point in the history
  • Loading branch information
sblack-usu authored Jan 23, 2020
1 parent adddcfc commit 224515c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataretrieval/nwis.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def get_stats(**kwargs):
TODO: fix date parsing
"""
if sites not in kwargs:
if 'sites' not in kwargs:
raise TypeError('Query must specify a site or list of sites')

query = query_waterservices('stat', **kwargs)
Expand Down

0 comments on commit 224515c

Please sign in to comment.