Remove redundant conditional

This commit is contained in:
Brian Pepple 2020-09-27 11:21:20 -04:00 committed by Odd Stråbø
parent dd77969a79
commit f5c0016914
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ class WSClient(threading.Thread):
self.wsc.run_forever(ping_interval=10)
if not self.stop and monitor.waitForAbort(5):
if monitor.waitForAbort(5):
break
LOG.info("---<[ websocket ]")

View File

@ -853,7 +853,7 @@ class Views(object):
if not self.server.logged_in:
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:
if library['Id'] == view_id and 'Primary' in library.get('ImageTags', {}):