Skip to content
Snippets Groups Projects
Commit 2ed96ae7 authored by Frede H's avatar Frede H :speech_balloon:
Browse files

corrected an error in output

parent 1808d708
No related branches found
No related tags found
No related merge requests found
......@@ -289,17 +289,13 @@ class PacmanMirrors:
print("--------------------------")
# output mirror file
jsonfn.write_json_file(mirrorfile, self.config["custom_file"])
print(".: {} {}: {}".format(txt.INF_CLR,
txt.CUSTOM_MIRROR_FILE_SAVED,
self.config["custom_file"]))
print(".: {} {}: {}".format(txt.INF_CLR, txt.CUSTOM_MIRROR_FILE_SAVED, self.config["custom_file"]))
# output pacman mirrorlist
filefn.output_mirror_list(self.config, worklist, custom=True, quiet=self.quiet)
# always use "Custom" from interactive
self.config["only_country"] = ["Custom"]
configfn.modify_config(self.config, custom=True)
print(".: {} {}: {}".format(txt.INF_CLR,
txt.MIRROR_LIST_SAVED,
self.config["custom_file"]))
print(".: {} {}: {}".format(txt.INF_CLR, txt.MIRROR_LIST_SAVED, self.config["mirror_list"]))
print(".: {} {} {}".format(txt.INF_CLR, txt.RESET_CUSTOM_CONFIG, txt.RESET_TIP))
else:
print(".: {} {}".format(txt.WRN_CLR, txt.NO_SELECTION))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment