aboutsummaryrefslogtreecommitdiff
path: root/operationscore/Input.py
diff options
context:
space:
mode:
Diffstat (limited to 'operationscore/Input.py')
-rw-r--r--operationscore/Input.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/operationscore/Input.py b/operationscore/Input.py
index 5a835ec..7720847 100644
--- a/operationscore/Input.py
+++ b/operationscore/Input.py
@@ -17,7 +17,11 @@ class Input(ThreadedSmootCoreObject):
self.inputInit()
def respond(self, eventDict):
- eventDict['InputId'] = self['Id']
+ if isinstance(eventDict, list):
+ for d in eventDict:
+ d['InputId'] = self['Id']
+ else:
+ eventDict['InputId'] = self['Id']
self.parentScope.lock.acquire()
self.parentScope.processResponse(self.argDict, eventDict)
self.parentScope.lock.release()