АГТ: Минорная правка, убрать сообщение об ошибке, если от орка пришел None

dev-fastapi
Иван Маслов 2 years ago
parent 89087dc7fe
commit 4e868f6898

@ -42,6 +42,7 @@ def O2A_Loop(inGSettings):
lBodyLenInt = len(lRequestBody) lBodyLenInt = len(lRequestBody)
if lBodyLenInt != 0: # CHeck if not empty result when close the connection from orch if lBodyLenInt != 0: # CHeck if not empty result when close the connection from orch
lQueueList = lResponse.json() # Try to get JSON lQueueList = lResponse.json() # Try to get JSON
if lQueueList != None:
for lQueueItem in lQueueList: for lQueueItem in lQueueList:
# Append QUEUE item in ProcessorDict > ActivityList # Append QUEUE item in ProcessorDict > ActivityList
lActivityLastGUIDStr = lQueueItem["GUIDStr"] lActivityLastGUIDStr = lQueueItem["GUIDStr"]

Loading…
Cancel
Save