Exemplo n.º 1
0
def clear(token):
    # type: (str) -> None
    """Clear cached or recently played items"""
    if token == "cache" and ku.confirm():
        iwm.cache_clear()
    if token == "recent" and ku.confirm():
        iwm.cache_clear()
Exemplo n.º 2
0
def clear(idx):
    # type: (str) -> None
    """Clear cached or recently played items"""
    if idx == "cache" and ku.confirm():
        dws.cache_clear()
    elif idx == "recent" and ku.confirm():
        dws.recents.clear()
    elif idx == "search" and ku.confirm():
        dws.searches.clear()
Exemplo n.º 3
0
def clear(token):
    if token == "cache" and ku.confirm():
        bcfs.cache_clear()
Exemplo n.º 4
0
def clear(token):
    if token == "cache" and ku.confirm():
        eafa.cache_clear()
Exemplo n.º 5
0
def clear(id):
    if id == "cache" and ku.confirm():
        bfis.cache_clear()
    if id == "recent" and ku.confirm():
        bfis.recent_clear()
Exemplo n.º 6
0
def clear(token):
    if token == "cache" and ku.confirm():
        jafc.cache_clear()
    if token == "recent" and ku.confirm():
        jafc.recent_clear()
Exemplo n.º 7
0
def clear(id):
    if id == "cache" and ku.confirm():
        bfis.cache_clear()
    if id == "recent" and ku.confirm():
        bfis.recent_clear()