Can now store settings&data in ~/.youtube-local, keeping program files separate

This commit is contained in:
James Taylor
2018-11-10 00:27:43 -08:00
parent 9dd8308cf2
commit 717bf21093
6 changed files with 62 additions and 35 deletions

View File

@@ -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