forked from sig_core/toolkit
fix if statement to include else when repos are a dict
This commit is contained in:
parent
68f06d38e0
commit
1376c91f6d
@ -969,6 +969,7 @@ class Shared:
|
||||
for idx, candidate in enumerate(extra_repos):
|
||||
if isinstance(candidate, dict):
|
||||
url, priority = candidate['url'], candidate.get('priority', None)
|
||||
else:
|
||||
url, priority = candidate.split(',')
|
||||
if not priority:
|
||||
priority = 100
|
||||
|
Loading…
Reference in New Issue
Block a user