mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-18 14:46:30 +00:00
Fix error with repository without repository.json (#1088)
This commit is contained in:
parent
fa4f7697b7
commit
11a7e8b15d
@ -33,7 +33,7 @@ class Repository(CoreSysAttributes):
|
||||
@property
|
||||
def data(self):
|
||||
"""Return data struct repository."""
|
||||
return self.sys_store.data.repositories[self.slug]
|
||||
return self.sys_store.data.repositories.get(self.slug, {})
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user