summaryrefslogtreecommitdiff
path: root/src/backend/mirror.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-09 14:10:14 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-09 14:10:14 +0100
commit27e0407ab61bee10c924182b39f4c3a0b622d420 (patch)
tree5d73aa7421fee3cbd4b8c303e68c0a2accd56806 /src/backend/mirror.py
parentdc646ecd9650eadf65fb5d6f019b5d555289cc66 (diff)
sisyphus-cli : import the backend into the new client, plug the mirror module -> mirror setup works
Diffstat (limited to 'src/backend/mirror.py')
-rw-r--r--src/backend/mirror.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/backend/mirror.py b/src/backend/mirror.py
index 6843e59..5fcf4eb 100644
--- a/src/backend/mirror.py
+++ b/src/backend/mirror.py
@@ -46,7 +46,6 @@ def writeList(mirrorList):
mirrorFile.write("\n")
def setActive(mirror):
- mirror = int(mirror[0])
mirrorList = getList()
if mirror not in range(1, len(mirrorList) + 1):
print("\n" + "Mirror index is wrong, please check with sisyphus --mirror --list" + "\n")