forked from indymedia/epicyon
Signature
parent
292a2a28e7
commit
bdbcb48d27
4
inbox.py
4
inbox.py
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue