core (stdui): fixed forgotten parametter in getParamError
This commit is contained in:
parent
74f8765ed2
commit
4b3ebdba5d
1 changed files with 2 additions and 2 deletions
|
|
@ -18,7 +18,7 @@
|
|||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from sat.core.i18n import _, D_
|
||||
from sat.core.i18n import D_
|
||||
from sat.core.constants import Const as C
|
||||
from sat.tools import xml_tools
|
||||
from sat.memory.crypto import PasswordHasher
|
||||
|
|
@ -79,7 +79,7 @@ class ProfileManager(object):
|
|||
d.addErrback(self.getParamError)
|
||||
return d
|
||||
|
||||
def getParamError(self):
|
||||
def getParamError(self, failure):
|
||||
_dialog = xml_tools.XMLUI('popup', title=D_('Error'))
|
||||
_dialog.addText(D_("Can't get profile parameter."))
|
||||
return {'xmlui': _dialog.toXml()}
|
||||
|
|
|
|||
Loading…
Reference in a new issue