Skip to content

Commit

Permalink
Merge pull request #5 from UCHIC/master
Browse files Browse the repository at this point in the history
include dataretrieval.codes in packages list
  • Loading branch information
thodson-usgs authored Mar 4, 2020
2 parents d6ace8a + 224515c commit fdba253
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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
2 changes: 1 addition & 1 deletion dataretrieval/wqp.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,5 @@ def what_sites(**kwargs):


def wqp_url(service):
base_url = 'https://waterqualitydata.us/'
base_url = 'https://www.waterqualitydata.us/'
return '{}{}/Search?'.format(base_url, service)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
author='Timothy Hodson',
author_email='[email protected]',
license='MIT',
packages=['dataretrieval'],
packages=['dataretrieval', 'dataretrieval.codes'],
zip_safe=False)

0 comments on commit fdba253

Please sign in to comment.