Fix config version setter (#1716)

Co-authored-by: Klaudiusz Staniek <klstanie@cisco.com>
This commit is contained in:
Klaudiusz Staniek 2020-05-18 11:23:45 +02:00 committed by GitHub
parent 6d8c821148
commit 1cf534ccc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,7 +69,7 @@ class CoreConfig(JsonConfig):
@version.setter
def version(self, value: str):
"""Set config version."""
self._data[ATTR_VERSION] = str
self._data[ATTR_VERSION] = value
@property
def wait_boot(self) -> int: