python-apt: promote https sites by default on mirmon option
This commit is contained in:
parent
46d5e40e51
commit
c55c8bf080
1 changed files with 4 additions and 4 deletions
|
|
@ -77,10 +77,10 @@ if args.mirmon:
|
|||
if args.country and country != args.country:
|
||||
continue
|
||||
for site, urls in sites.items():
|
||||
if urls["http"]:
|
||||
print(f"{country.lower()} {urls['http'][0]}")
|
||||
elif urls["https"]:
|
||||
if urls["https"]:
|
||||
print(f"{country.lower()} {urls['https'][0]}")
|
||||
elif urls["http"]:
|
||||
print(f"{country.lower()} {urls['http'][0]}")
|
||||
exit(0)
|
||||
|
||||
# Print output
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue