Fix AttributeError

This commit is contained in:
croneter 2018-11-24 09:54:57 +01:00
parent 69b7f91542
commit 3e754dfd1b

View file

@ -511,9 +511,8 @@ def _record_playstate(status, ended):
xbmc.getCondVisibility('Window.IsVisible(Home.xml)')): xbmc.getCondVisibility('Window.IsVisible(Home.xml)')):
LOG.debug('Refreshing skin to update widgets') LOG.debug('Refreshing skin to update widgets')
xbmc.executebuiltin('ReloadSkin()') xbmc.executebuiltin('ReloadSkin()')
thread = Thread(target=_clean_file_table) task = backgroundthread.FunctionAsTask(_clean_file_table)
thread.setDaemon(True) backgroundthread.BGThreader.addTasksToFront(task)
thread.start()
def _clean_file_table(): def _clean_file_table():