Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. cgitb.enable()
  2. form = cgi.FieldStorage()
  3. ...# There are some another blocks that creates clientsock as our socket
  4. clientsock.sendall(form)
  5.  
  6. TypeError: a bytes-like object is required, not 'FieldStorage'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement