This commit is contained in:
Croneter 2018-04-30 14:16:45 +02:00
parent 9b5dfac3a6
commit e1c7ab5b04

View file

@ -12,8 +12,8 @@ import requests
from xbmc import sleep, translatePath from xbmc import sleep, translatePath
from xbmcvfs import exists from xbmcvfs import exists
from utils import window, settings, language as lang, kodi_sql, try_encode, \ from utils import settings, language as lang, kodi_sql, try_encode, try_decode,\
thread_methods, dialog, exists_dir, try_decode thread_methods, dialog, exists_dir
import state import state
############################################################################### ###############################################################################
@ -107,7 +107,7 @@ class Image_Cache_Thread(Thread):
'over-loaded. Sleep %s seconds before trying ' 'over-loaded. Sleep %s seconds before trying '
'again to download %s', 'again to download %s',
2**sleeptime, double_urldecode(url)) 2**sleeptime, double_urldecode(url))
sleep((2**sleeptime)*1000) sleep((2**sleeptime) * 1000)
sleeptime += 1 sleeptime += 1
continue continue
except Exception as e: except Exception as e: