Skip to content

Commit

Permalink
Update parse_gophermap docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
dotcomboom committed Feb 9, 2019
1 parent f58a332 commit 541e710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pituophis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def get(host, port=70, path='/', query='', tls=False, tls_verify=True):
# Server stuff
def parse_gophermap(source, def_host='127.0.0.1', def_port='70', gophermap_dir='/'):
"""
*Server.* Converts a Bucktooth-style Gophermap (as a String or List) into a Gopher menu. Returns a List of lines to send.
*Server.* Converts a Bucktooth-style Gophermap (as a String or List) into a Gopher menu as a List of Selectors to send.
"""
if type(source) == str:
source = source.replace('\r\n', '\n').split('\n')
Expand Down

0 comments on commit 541e710

Please sign in to comment.