returned
is now a tuple; we want message
This commit is contained in:
parent
3c1a313ef2
commit
30588da3a7
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
force_success = True
|
force_success = True
|
||||||
break
|
break
|
||||||
elif type == utils.consts.PERMISSION_ERROR:
|
elif type == utils.consts.PERMISSION_ERROR:
|
||||||
error = returned
|
error = message
|
||||||
|
|
||||||
if hard_fail:
|
if hard_fail:
|
||||||
return False, error
|
return False, error
|
||||||
|
|
Loading…
Reference in a new issue