Fix upgrade api disabling during setup of Synology DSM (#77753)

pull/77766/head
Michael 2022-09-03 19:19:52 +02:00 committed by GitHub
parent a3e6abd396
commit ab215b653a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -102,6 +102,7 @@ class SynoApi:
self.dsm.upgrade.update()
except SynologyDSMAPIErrorException as ex:
self._with_upgrade = False
self.dsm.reset(SynoCoreUpgrade.API_KEY)
LOGGER.debug("Disabled fetching upgrade data during setup: %s", ex)
self._fetch_device_configuration()