mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
4545145a9c
commit
126f57c1a9
17
daemon.py
17
daemon.py
|
@ -4045,6 +4045,9 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
' image or font could not be saved to ' +
|
||||
postImageFilename)
|
||||
|
||||
if '&previewAvatar=' in postBytes:
|
||||
print('previewAvatar in postBytes: ' + str(postBytes))
|
||||
|
||||
# extract all of the text fields into a dict
|
||||
fields = \
|
||||
extractTextFieldsInPOST(postBytes, boundary, debug)
|
||||
|
@ -5006,20 +5009,6 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self._postToOutbox(updateActorJson,
|
||||
__version__, nickname)
|
||||
|
||||
# preview avatar button on welcome profile screen
|
||||
if fields.get('previewAvatar'):
|
||||
print('previewAvatar: ' + str(fields['previewAvatar']))
|
||||
|
||||
# prev button on welcome profile screen
|
||||
if fields.get('prevWelcomeScreen'):
|
||||
print('prevWelcomeScreen: ' +
|
||||
str(fields['prevWelcomeScreen']))
|
||||
|
||||
# next button on welcome profile screen
|
||||
if fields.get('nextWelcomeScreen'):
|
||||
print('nextWelcomeScreen: ' +
|
||||
str(fields['nextWelcomeScreen']))
|
||||
|
||||
# deactivate the account
|
||||
if fields.get('deactivateThisAccount'):
|
||||
if fields['deactivateThisAccount'] == 'on':
|
||||
|
|
Loading…
Reference in New Issue