diff --git a/app.py b/app.py index 5bc035d..2857765 100644 --- a/app.py +++ b/app.py @@ -158,7 +158,7 @@ def ship(request,ship=None): global DESC_PRE_SHIPS if ship is None: return Response(Status.BAD_REQUEST,"Bad Request") ship_unquoted = urllib.parse.unquote(ship) - urlencoded = urllib.parse.quote(ship,safe='') + urlencoded = urllib.parse.quote(ship,safe='') if not os.path.isdir(os.path.join("/var/gopher",ship_unquoted)): return Response(Status.NOT_FOUND,"Not Found") def __generator(): description = os.path.join("/var/gopher",ship_unquoted,".description")