Signature

master
Bob Mottram 2019-08-16 09:43:53 +01:00
parent 292a2a28e7
commit bdbcb48d27
1 changed files with 2 additions and 2 deletions

View File

@ -1100,7 +1100,7 @@ def runInboxQueue(projectVersion: str, \
keyId=None keyId=None
for tries in range(8): for tries in range(8):
keyId=None keyId=None
signatureParams=queueJson['headers'].split(',') signatureParams=queueJson['httpHeaders']['signature'].split(',')
for signatureItem in signatureParams: for signatureItem in signatureParams:
if signatureItem.startswith('keyId='): if signatureItem.startswith('keyId='):
if '"' in signatureItem: if '"' in signatureItem:
@ -1109,7 +1109,7 @@ def runInboxQueue(projectVersion: str, \
if not keyId: if not keyId:
if debug: if debug:
print('DEBUG: No keyId in signature: '+ \ print('DEBUG: No keyId in signature: '+ \
queueJson['headers']['signature']) queueJson['httpHeaders']['signature'])
os.remove(queueFilename) os.remove(queueFilename)
queue.pop(0) queue.pop(0)
continue continue