Optimize code
This commit is contained in:
parent
0147e29cef
commit
b5524d1206
1 changed files with 1 additions and 4 deletions
|
@ -139,10 +139,7 @@ class UserSelectWindow(kodigui.BaseWindow):
|
||||||
|
|
||||||
def pinEntryClicked(self, controlID):
|
def pinEntryClicked(self, controlID):
|
||||||
item = self.userList.getSelectedItem()
|
item = self.userList.getSelectedItem()
|
||||||
if item.getProperty('editing.pin'):
|
pin = item.getProperty('editing.pin') or ''
|
||||||
pin = item.getProperty('editing.pin')
|
|
||||||
else:
|
|
||||||
pin = ''
|
|
||||||
|
|
||||||
if len(pin) > 3:
|
if len(pin) > 3:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue