Fix wrong controller method call.

This commit is contained in:
grossmj 2019-01-14 17:20:11 +07:00
parent 8360ae98b1
commit 191036e266

View File

@ -118,7 +118,8 @@ class ApplianceManager:
etag = response.headers.get("ETag") etag = response.headers.get("ETag")
if etag: if etag:
self._appliances_etag = etag self._appliances_etag = etag
self.save() from . import Controller
Controller.instance().save()
json_data = await response.json() json_data = await response.json()
appliances_dir = get_resource('appliances') appliances_dir = get_resource('appliances')
for appliance in json_data: for appliance in json_data: