From 126f57c1a9436adc5849961f488930b1cb688e96 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 25 Feb 2021 15:03:01 +0000 Subject: [PATCH] Debug --- daemon.py | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/daemon.py b/daemon.py index deeebcec1..91bbf0536 100644 --- a/daemon.py +++ b/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':