Skip to content

Commit

Permalink
Reduce calls
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerSelwyn committed Sep 8, 2022
1 parent a19f2c9 commit 42bb762
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyskyqremote/skyq_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,9 @@ def get_device_information(self):
if not self._device_information:
self._device_information = DeviceInformation(self._remote_config)

if self._remote_config.device_info and not self._override_country:
return self._remote_config.device_info

device_info = self._device_information.get_device_information(
self._override_country
)
Expand Down

0 comments on commit 42bb762

Please sign in to comment.