diff --git a/server.py b/server.py index cf492a2..bc95000 100644 --- a/server.py +++ b/server.py @@ -205,7 +205,7 @@ def relay(): isabs = goto[0] == "/" or goto[0:2] == "//" isquery = goto[0] == "?" dubleslash = goto[0:2] == "//" - if url = urlparse(fulladdr).hostname: + if url == urlparse(fulladdr).hostname: isquery=False isabs=False isdir=True