Mercurial > libervia-backend
comparison src/stdui/ui_profile_manager.py @ 1608:05274b27e90e
frontends (xmlui): fixed widget closing on submit
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 16 Nov 2015 08:57:02 +0100 |
parents | 94cd4d242dc5 |
children | 52af44e745b5 |
comparison
equal
deleted
inserted
replaced
1607:4741e2f5eed2 | 1608:05274b27e90e |
---|---|
89 | 89 |
90 @param data (dict) | 90 @param data (dict) |
91 @param profile: %(doc_profile)s | 91 @param profile: %(doc_profile)s |
92 @return: deferred dict | 92 @return: deferred dict |
93 """ | 93 """ |
94 assert(profile in self.profile_ciphers) | 94 assert profile in self.profile_ciphers |
95 | 95 |
96 try: | 96 try: |
97 profile_password = data[xml_tools.formEscape('profile_password')] | 97 profile_password = data[xml_tools.formEscape('profile_password')] |
98 except KeyError: | 98 except KeyError: |
99 profile_password = data['profile_password'] # not received from a user input | 99 profile_password = data['profile_password'] # not received from a user input |