diff --git a/app/main.py b/app/main.py index 28ba441..8ca4e7e 100644 --- a/app/main.py +++ b/app/main.py @@ -29,7 +29,7 @@ def get_ip(): def get_redirect(path, IP): split_path = path.split('/') if len(split_path) == 2: - key = "/{}/{}".format(split_path[0], split_path[1]) + key = "{}/{}".format(split_path[0], split_path[1]) new_path = dl_map.get(key, path) return "{}/{}".format(mirror.next(), new_path) if path == '':