mirror of
https://github.com/status-im/miniupnp.git
synced 2025-01-18 18:31:15 +00:00
fix: TypeError: a bytes-like object is required, not 'str'
This commit is contained in:
parent
5eaf3ec0fe
commit
ad7c1db49a
@ -29,7 +29,7 @@ class handler_class(BaseHTTPRequestHandler):
|
||||
def do_GET(self):
|
||||
self.send_response(200)
|
||||
self.end_headers()
|
||||
self.wfile.write("OK MON GARS")
|
||||
self.wfile.write(b"OK MON GARS")
|
||||
|
||||
# create the object
|
||||
u = miniupnpc.UPnP()
|
||||
|
Loading…
x
Reference in New Issue
Block a user