Code clarity fixes
autopep8 -ir -j2 --select=E303,E125 Diff checked manually.
This commit is contained in:
parent
dcb2b61b18
commit
c21d1f7925
37 changed files with 6 additions and 59 deletions
|
|
@ -381,7 +381,7 @@ class BackendCfg(QDialog):
|
|||
', '.join(sorted(cap.__name__.replace('ICap', '') for cap in module.iter_caps()))))
|
||||
|
||||
if module.has_caps(ICapAccount) and self.ui.nameEdit.isEnabled() and \
|
||||
module.klass.ACCOUNT_REGISTER_PROPERTIES is not None:
|
||||
module.klass.ACCOUNT_REGISTER_PROPERTIES is not None:
|
||||
self.ui.registerButton.show()
|
||||
else:
|
||||
self.ui.registerButton.hide()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue