Assign variable

merge-requests/30/head
Bob Mottram 2021-03-18 23:39:54 +00:00
parent e4504593b6
commit f1e5db1c18
1 changed files with 1 additions and 1 deletions

View File

@ -2427,8 +2427,8 @@ def sendToNamedAddresses(session, baseDir: str,
return return
if not postJsonObject.get('object'): if not postJsonObject.get('object'):
return return
isProfileUpdate = False
if isinstance(postJsonObject['object'], dict): if isinstance(postJsonObject['object'], dict):
isProfileUpdate = False
# for actor updates there is no 'to' within the object # for actor updates there is no 'to' within the object
if postJsonObject['object'].get('type') and postJsonObject.get('type'): if postJsonObject['object'].get('type') and postJsonObject.get('type'):
if (postJsonObject['type'] == 'Update' and if (postJsonObject['type'] == 'Update' and