Mercurial > libervia-backend
comparison libervia/frontends/quick_frontend/quick_profile_manager.py @ 4270:0d7bb4df2343
Reformatted code base using black.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 19 Jun 2024 18:44:57 +0200 |
parents | b620a8e882e1 |
children |
comparison
equal
deleted
inserted
replaced
4269:64a85ce8be70 | 4270:0d7bb4df2343 |
---|---|
219 if password != self.current.password and self.current.password is not None: | 219 if password != self.current.password and self.current.password is not None: |
220 self.current.password = password | 220 self.current.password = password |
221 self.host.bridge.param_set( | 221 self.host.bridge.param_set( |
222 "Password", password, "Connection", profile_key=self.current.profile | 222 "Password", password, "Connection", profile_key=self.current.profile |
223 ) | 223 ) |
224 log.info( | 224 log.info("password updated for profile [{}]".format(self.current.profile)) |
225 "password updated for profile [{}]".format(self.current.profile) | |
226 ) | |
227 | 225 |
228 ## graphic updates (should probably be overriden in frontends) ## | 226 ## graphic updates (should probably be overriden in frontends) ## |
229 | 227 |
230 def reset_fields(self): | 228 def reset_fields(self): |
231 """Set profile to None, and reset fields""" | 229 """Set profile to None, and reset fields""" |