Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.

Commit

Permalink
Merge pull request #67 from ReagentX/develop
Browse files Browse the repository at this point in the history
Release/1.2.2
  • Loading branch information
ReagentX authored Dec 18, 2020
2 parents 7ff7d44 + 9063986 commit 00ac2b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion purpleair/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def get_all_data(self) -> None:
"""
Get all data from the API
"""
response = requests.get(f'{API_ROOT}')
response = requests.get(f'{API_ROOT}?q=""')
try:
data = json.loads(response.content)
except JSONDecodeError as err:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def test_create_sensor_location(self):
se = sensor.Sensor(2891, parse_location=True)
self.assertEqual(
se.__repr__(),
'Sensor 2891 at 10834, Canyon Road, Omaha, Douglas County, Nebraska, 68112, United States of America'
'Sensor 2891 at 10834, Canyon Road, Omaha, Douglas County, Nebraska, 68112, United States'
)

def test_can_get_field(self):
Expand Down

0 comments on commit 00ac2b2

Please sign in to comment.