Update README to be more up to date

This commit is contained in:
Juhani Haverinen 2017-01-04 10:27:59 +02:00
parent 0b63f049b3
commit 2f9478399e
2 changed files with 4 additions and 3 deletions

3
README
View File

@ -1,5 +1,6 @@
!!! Don't use this, it's bad and doesn't implement gopher protocol correctly !!!
It serves gopher, duh.
Modify lines 37 and 38 to configure.
Will automatically attempt to execute anything with execute bit (except directories).
Requires Python 2, as Python 3's string handling it just weird.
Requires Python 2, as the code is bad.
Also responds to HTTP queries.

View File

@ -35,9 +35,9 @@ import threading
import time
# Config
port = 7070
port = 7777
gopherroot = os.environ['HOME']+'/gopher'
blacklistfile = os.environ['HOME']+'/gopher_blacklist'
blacklistfile = os.environ['HOME']+'/gopher_blacklist_1'
# Set up socket
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)