diff --git a/resources/lib/windows/userselect.py b/resources/lib/windows/userselect.py index 4e34bfe6..7154a66e 100644 --- a/resources/lib/windows/userselect.py +++ b/resources/lib/windows/userselect.py @@ -139,10 +139,7 @@ class UserSelectWindow(kodigui.BaseWindow): def pinEntryClicked(self, controlID): item = self.userList.getSelectedItem() - if item.getProperty('editing.pin'): - pin = item.getProperty('editing.pin') - else: - pin = '' + pin = item.getProperty('editing.pin') or '' if len(pin) > 3: return