Skip to content

Commit

Permalink
Cleaning up a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
Torxed committed Jun 26, 2020
1 parent 08c2950 commit 369998e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions slimhttpd.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@ def host(mode=HTTPS, *args, **kwargs):
elif mode == HTTP:
return HTTP_SERVER(*args, **kwargs)

def as_complex(o):
if type(o) == bytes:
return o.decode('UTF-8')
return o

def drop_privileges():
return True

Expand Down

0 comments on commit 369998e

Please sign in to comment.