mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-01 02:15:12 +00:00
Decode bytes
This commit is contained in:
1 parent
823bac8258
commit
eb9bee110a
1 file changed
+4
-3
@@ -4045,11 +4045,12 @@ class PubServer(BaseHTTPRequestHandler):
|
||||
' image or font could not be saved to ' +
|
||||
postImageFilename)
|
||||
|
||||
if '&previewAvatar=' in postBytes:
|
||||
postBytesStr = postBytes.decode('utf-8')
|
||||
if '&previewAvatar=' in postBytesStr:
|
||||
print('previewAvatar in postBytes')
|
||||
if '&prevWelcomeScreen=' in postBytes:
|
||||
if '&prevWelcomeScreen=' in postBytesStr:
|
||||
print('prevWelcomeScreen in postBytes')
|
||||
if '&nextWelcomeScreen=' in postBytes:
|
||||
if '&nextWelcomeScreen=' in postBytesStr:
|
||||
print('nextWelcomeScreen in postBytes')
|
||||
|
||||
# extract all of the text fields into a dict
|
||||
|
||||
Reference in new issue
Block a user