aboutsummaryrefslogtreecommitdiffstats
path: root/server.py
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2018-11-10 00:27:43 -0800
committerJames Taylor <user234683@users.noreply.github.com>2018-11-10 00:27:43 -0800
commit717bf210937c757595624348db9389969be9654f (patch)
tree7814a81f5c0de1084ab46f3a88b6186798932dfa /server.py
parent9dd8308cf23de69c741f0304ace102718b844e16 (diff)
downloadyt-local-717bf210937c757595624348db9389969be9654f.tar.lz
yt-local-717bf210937c757595624348db9389969be9654f.tar.xz
yt-local-717bf210937c757595624348db9389969be9654f.zip
Can now store settings&data in ~/.youtube-local, keeping program files separate
Diffstat (limited to 'server.py')
-rw-r--r--server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.py b/server.py
index 5b20814..beab5c0 100644
--- a/server.py
+++ b/server.py
@@ -82,7 +82,7 @@ def site_dispatch(env, start_response):
yield error_code('403 Forbidden', start_response)
return
if "phpmyadmin" in path or (path == "/" and method == "HEAD"):
- ban_address(client_address)
+ #ban_address(client_address)
start_response('403 Fuck Off', ())
yield b'403 Fuck Off'
return