Merge pull request #425 from iworkist/master
fix: TypeError: a bytes-like object is required, not 'str'
This commit is contained in:
commit
14f7e1c66a
|
@ -29,7 +29,7 @@ class handler_class(BaseHTTPRequestHandler):
|
||||||
def do_GET(self):
|
def do_GET(self):
|
||||||
self.send_response(200)
|
self.send_response(200)
|
||||||
self.end_headers()
|
self.end_headers()
|
||||||
self.wfile.write("OK MON GARS")
|
self.wfile.write(b"OK MON GARS")
|
||||||
|
|
||||||
# create the object
|
# create the object
|
||||||
u = miniupnpc.UPnP()
|
u = miniupnpc.UPnP()
|
||||||
|
|
Loading…
Reference in New Issue