diff 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
line wrap: on
line diff
--- a/src/stdui/ui_profile_manager.py	Mon Nov 16 00:24:49 2015 +0100
+++ b/src/stdui/ui_profile_manager.py	Mon Nov 16 08:57:02 2015 +0100
@@ -91,7 +91,7 @@
         @param profile: %(doc_profile)s
         @return: deferred dict
         """
-        assert(profile in self.profile_ciphers)
+        assert profile in self.profile_ciphers
 
         try:
             profile_password = data[xml_tools.formEscape('profile_password')]