Skip to content
Snippets Groups Projects
Commit 94b44153 authored by payno's avatar payno
Browse files

fix some typo

parent 3c6b3e55
No related branches found
Tags proto_luigi
No related merge requests found
......@@ -171,14 +171,12 @@ class SingleProcessTask(_TomwerTask):
inputs = self.read_inputs()
# deal with the root node
if len(inputs) is 0:
if self.tomwer_class_name == 'tomwer.core.process.datatransfert.FolderTransfert':
self._instance.process(self.scan)
else:
for name, value in inputs.items():
if name == 'change recons params':
_logger.warning('`change recons params` signal is ignore for now')
continue
if self.tomwer_class_name == 'tomwer.core.process.datatransfert.FolderTransfert':
handler = self._instance.input_handler(name=name)
if handler is None:
raise ValueError('No handler define by %s for %s' % (self.tomwer_class, name))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment