# HG changeset patch # User Goffi # Date 1558940805 -7200 # Node ID 170802865156c4cd050806d0ce69d430d3b47753 # Parent 263fed3ce354947cb2c72171679af22df52a2e54 server (tasks): fixed findCommand when first name can't be found diff -r 263fed3ce354 -r 170802865156 libervia/server/tasks.py --- a/libervia/server/tasks.py Sun May 26 22:19:42 2019 +0200 +++ b/libervia/server/tasks.py Mon May 27 09:06:45 2019 +0200 @@ -189,7 +189,8 @@ cmd_path = which(n)[0].encode('utf-8') except IndexError: pass - return cmd_path + else: + return cmd_path raise exceptions.NotFound(_( u"Can't find {name} command, did you install it?").format(name=name))