Skip to content

Commit 5542bd4

Browse files
committed
Fix issue when sensitive info not returned correctly.
1 parent 10e3897 commit 5542bd4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

googlewifi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ async def get_sensitive_info(self, system_id:str, station_ids:list):
621621
await asyncio.sleep(5)
622622

623623
results = await self.sensitive_info_results(operation_id=operation_id)
624-
return results["stationSensitiveInfos"]
624+
return results.get("stationSensitiveInfos",[])
625625

626626
async def get_realtime_metrics(self, system_id:str):
627627
"""Return real-time metrics from the system."""

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
setuptools.setup(
77
name="googlewifi",
88
packages=["googlewifi"],
9-
version="0.0.14",
9+
version="0.0.15",
1010
license='apache-2.0',
1111
author="Tim Empringham",
1212
author_email="tim.empringham@live.ca",
1313
description="Google WiFi API wrapper for integration to Google Wifi systems.",
1414
long_description=long_description,
1515
long_description_content_type="text/markdown",
1616
url="https://github.com/djtimca/googlewifi-api",
17-
download_url = 'https://github.com/djtimca/googlewifi-api/archive/v_0.0.14.tar.gz',
17+
download_url = 'https://github.com/djtimca/googlewifi-api/archive/v_0.0.15.tar.gz',
1818
keywords = ['Google', 'Wifi'],
1919
classifiers=[
2020
'Development Status :: 3 - Alpha',

0 commit comments

Comments
 (0)