from command import search from helper import console def last(items=None): global search_cache if items is not None: search_cache = items else: if search_cache is None: console.output('First search has yet te be made', console.DBG_ERROR) else: search(search_cache) return True