Skip to content

Commit

Permalink
fixed the re-cache json api call issue
Browse files Browse the repository at this point in the history
  • Loading branch information
TermeHansen committed Mar 28, 2024
1 parent 1545cd3 commit b566ae9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions resources/lib/addon.py
Original file line number Diff line number Diff line change
Expand Up @@ -588,8 +588,9 @@ def route(self, query):
self.api.recache_items(clear_expired=True, progress=progress)
progress.update(100)
progress.close()
if PARAMS['re-cache'] == 2:
xbmc.executebuiltin('ActivateWindow(Home)')
if PARAMS['re-cache'] == '2':
self.showSimpleAreaSelector()
xbmc.executebuiltin('ActivateWindow(home)')

else:
area = int(get_setting('area'))
Expand Down

0 comments on commit b566ae9

Please sign in to comment.