Skip to content

Commit

Permalink
Update handle docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
dotcomboom committed Feb 8, 2019
1 parent a51e7d5 commit 2dde018
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pituophis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,8 @@ def parse_gophermap(source, def_host='127.0.0.1', def_port='70', gophermap_dir='
def handle(request):
"""
*Server.* Default handler function for Gopher requests while hosting a server.
Serves files and directories from the pub/ directory. If you need to customize,
or change the directory to serve, you can copy/paste the function.
Serves files and directories from the pub/ directory by default, but the path can
be changed in serve's pub_dir argument or changing the Request's pub_dir directory.
"""
#####
pub_dir = request.pub_dir
Expand Down

0 comments on commit 2dde018

Please sign in to comment.