Rename json file

This commit is contained in:
Dimitris Zlatanidis 2024-03-15 21:15:49 +02:00
parent 302a404796
commit 0be181ec07

View file

@ -20,7 +20,7 @@ class Repositories:
repos_config = {} repos_config = {}
repositories = {} repositories = {}
data_json: str = 'data.json' json_file: str = 'data.json'
last_update_json: Path = Path(repositories_path, 'last_update.json') last_update_json: Path = Path(repositories_path, 'last_update.json')
default_repository: str = 'sbo' default_repository: str = 'sbo'
@ -556,7 +556,7 @@ class Repositories:
except (tomli.TOMLDecodeError, KeyError) as error: except (tomli.TOMLDecodeError, KeyError) as error:
errors.raise_toml_error_message(error, repositories_toml_file) errors.raise_toml_error_message(error, repositories_toml_file)
# Dictionary of configurations of repositories. # Dictionary configurations of repositories.
repositories = { repositories = {
sbo_repo_name: { sbo_repo_name: {
'enable': sbo_repo, 'enable': sbo_repo,