PEP8 double aggressive E251 and E252

This commit is contained in:
persianpros
2021-04-14 00:13:45 +04:30
parent 9d97e44d17
commit d8ec7e4c52
31 changed files with 179 additions and 179 deletions

View File

@@ -214,7 +214,7 @@ class InstallImage(Screen, ConfigListScreen):
self.session.openWithCallback(self.VirtualKeyBoardCallback, VirtualKeyBoard, title=self['config'].getCurrent()[0], text=self['config'].getCurrent()[1].value)
return
def VirtualKeyBoardCallback(self, callback = None):
def VirtualKeyBoardCallback(self, callback=None):
if callback is not None and len(callback):
self['config'].getCurrent()[1].setValue(callback)
self['config'].invalidate(self['config'].getCurrent())