mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-24 08:51:37 +00:00
Simplify boolean
This commit is contained in:
parent
ba164d1358
commit
b110f1cf13
9 changed files with 9 additions and 9 deletions
|
@ -46,7 +46,7 @@ class Connect(object):
|
|||
if server['Id'] == server_id:
|
||||
credentials['Servers'] = [server]
|
||||
|
||||
server_select = True if server_id is None and not settings('SyncInstallRunDone.bool') else False
|
||||
server_select = server_id is None and not settings('SyncInstallRunDone.bool')
|
||||
new_credentials = self.register_client(credentials, options, server_id, server_select)
|
||||
|
||||
for server in servers:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue