Fix AttributeError
This commit is contained in:
parent
69b7f91542
commit
3e754dfd1b
1 changed files with 2 additions and 3 deletions
|
@ -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():
|
||||||
|
|
Loading…
Reference in a new issue