mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Simplify conditional into return statement
This commit is contained in:
parent
0345106427
commit
cbaa41d242
1 changed files with 1 additions and 4 deletions
|
@ -185,10 +185,7 @@ def should_stop():
|
||||||
LOG.info("exiiiiitttinggg")
|
LOG.info("exiiiiitttinggg")
|
||||||
return True
|
return True
|
||||||
|
|
||||||
if not window('jellyfin_online.bool'):
|
return not window('jellyfin_online.bool')
|
||||||
return True
|
|
||||||
|
|
||||||
return False
|
|
||||||
|
|
||||||
|
|
||||||
def get_screensaver():
|
def get_screensaver():
|
||||||
|
|
Loading…
Reference in a new issue