mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-06-22 00:23:55 +02:00
Ruff fix after merge (#149)
This commit is contained in:
@ -73,7 +73,7 @@ class JsonFileConfigProvider(ConfigProvider):
|
||||
"""
|
||||
if not os.path.isfile(file_path):
|
||||
raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_path)
|
||||
with open(file_path, mode="r") as file:
|
||||
with open(file_path) as file:
|
||||
try:
|
||||
data = json.loads(file.read())
|
||||
self.__data__ = data
|
||||
|
Reference in New Issue
Block a user