Skip to content

Commit

Permalink
Made sure that curses menu selection on mirrors use url object from m…
Browse files Browse the repository at this point in the history
…irror.url instead of the class instance
  • Loading branch information
Torxed committed Nov 9, 2024
1 parent 021064e commit 862b4ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion archinstall/lib/mirrors.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def mirrorlist_config(self) -> str:

for region, mirrors in self.mirror_regions.items():
for mirror in mirrors:
config += f'\n\n## {region}\nServer = {mirror}\n'
config += f'\n\n## {region}\nServer = {mirror.url}$repo/os/$arch\n'

for cm in self.custom_mirrors:
config += f'\n\n## {cm.name}\nServer = {cm.url}\n'
Expand Down

0 comments on commit 862b4ca

Please sign in to comment.