More explicit coding

This commit is contained in:
tomkat83 2017-01-24 20:18:28 +01:00
parent 74433f7afd
commit 307e8e5b61

View file

@ -212,7 +212,7 @@ class Image_Cache_Thread(Thread):
# download. All is well
break
except requests.ConnectionError:
if window('plex_terminateNow') == 'true':
if threadStopped():
# Kodi terminated
break
# Server thinks its a DOS attack, ('error 10053')