mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-20 10:26:44 +01:00
Updated read json from utils
This commit is contained in:
parent
a00966e9d5
commit
7027f07272
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class InstallData(Configs):
|
|||
|
||||
last_update_json[repo]: dict = last_date
|
||||
if self.repos.last_update_json.is_file():
|
||||
last_update_json: dict = json.loads(self.repos.last_update_json.read_text(encoding='utf-8'))
|
||||
last_update_json: dict = self.utils.read_json_file(self.repos.last_update_json)
|
||||
last_update_json[repo] = last_date
|
||||
|
||||
self.repos.last_update_json.write_text(json.dumps(last_update_json, indent=4))
|
||||
|
|
Loading…
Reference in a new issue