Skip to content
Snippets Groups Projects
Commit 71af9262 authored by guinux's avatar guinux Committed by GitHub
Browse files

Read "Method" option in config file

parent abee78a0
No related branches found
No related tags found
No related merge requests found
......@@ -96,6 +96,8 @@ class PacmanMirrors:
continue
if value.startswith('"') and value.endswith('"'):
value = value[1:-1]
if key == "Method" and value == "random":
self.method = value
if key == "Branch":
self.branch = value
elif key == "OnlyCountry":
......
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