Don't use deprecated encoding to json.loads (#28509)

Will be removed in 3.9, ignored in earlier supported versions.
This commit is contained in:
Ville Skyttä 2019-11-04 01:24:24 +02:00 committed by Martin Hjelmare
parent 734e982822
commit 9b038bd10d
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ class HomeTemplate(Home):
def init_home(self, json_path=HOME_JSON):
"""Init template with json."""
self.init_json_state = json.loads(load_fixture(HOME_JSON), encoding="UTF-8")
self.init_json_state = json.loads(load_fixture(HOME_JSON))
self.update_home(json_state=self.init_json_state, clearConfig=True)
return self