fix error
This commit is contained in:
parent
39da4b3a63
commit
7ddb252548
|
@ -58,7 +58,7 @@ def next(host):
|
|||
|
||||
@app.route("/random")
|
||||
def randomsite():
|
||||
num = random.randrange(0, len(sites) + 1, 1)
|
||||
num = random.randrange(0, len(sites), 1)
|
||||
site = sites[num]
|
||||
return redirect("https://" + site["url"])
|
||||
|
||||
|
|
Loading…
Reference in New Issue