mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Remove redundant conditional
This commit is contained in:
parent
dd77969a79
commit
f5c0016914
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ class WSClient(threading.Thread):
|
||||||
|
|
||||||
self.wsc.run_forever(ping_interval=10)
|
self.wsc.run_forever(ping_interval=10)
|
||||||
|
|
||||||
if not self.stop and monitor.waitForAbort(5):
|
if monitor.waitForAbort(5):
|
||||||
break
|
break
|
||||||
|
|
||||||
LOG.info("---<[ websocket ]")
|
LOG.info("---<[ websocket ]")
|
||||||
|
|
|
@ -853,7 +853,7 @@ class Views(object):
|
||||||
if not self.server.logged_in:
|
if not self.server.logged_in:
|
||||||
window('%s.artwork' % prop, clear=True)
|
window('%s.artwork' % prop, clear=True)
|
||||||
|
|
||||||
elif self.server.logged_in and self.media_folders is not None:
|
elif self.media_folders is not None:
|
||||||
for library in self.media_folders:
|
for library in self.media_folders:
|
||||||
|
|
||||||
if library['Id'] == view_id and 'Primary' in library.get('ImageTags', {}):
|
if library['Id'] == view_id and 'Primary' in library.get('ImageTags', {}):
|
||||||
|
|
Loading…
Reference in a new issue