Exemplo n.º 1
0
 def __init__(self, *args):
     super(_Base3, self).__init__(*args)
     try:
         update_id = "%s.%s" % (_settings.version, BUILD)
         if not update_id == _settings.last_update_id:
             # Clear cache after update
             clear_cache()
             __addon__.setSetting("last_update_id", update_id)
     except:
         log_error()
         sys.exc_clear()
Exemplo n.º 2
0
 def __init__(self, *args):
     super(_Base3, self).__init__(*args)
     try:
         update_id = "%s.%s" %(_settings.version, BUILD)
         if not update_id == _settings.last_update_id:
             # Clear cache after update
             clear_cache()
             __addon__.setSetting("last_update_id", update_id)
     except:
         log_error()
         sys.exc_clear()
Exemplo n.º 3
0
def clearCache():
    if Dialog().yesno(30033):
        clear_cache()
        notify(30301)
Exemplo n.º 4
0
def clearCache():
    if Dialog().yesno(30033):
        clear_cache()
        notify(30301)