returned is now a tuple; we want message

This commit is contained in:
jesopo 2019-09-26 12:19:50 +01:00
parent 3c1a313ef2
commit 30588da3a7

View file

@ -151,7 +151,7 @@ class Module(ModuleManager.BaseModule):
force_success = True
break
elif type == utils.consts.PERMISSION_ERROR:
error = returned
error = message
if hard_fail:
return False, error