def save_cache(pelicanobj): cache_file = pelicanobj.settings.get('M_MATH_CACHE_FILE', 'm.math.cache') if cache_file: latex2svgextra.pickle_cache(cache_file)
def save_cache(*args, **kwargs): if settings['M_MATH_CACHE_FILE']: latex2svgextra.pickle_cache(settings['M_MATH_CACHE_FILE'])
def save_cache(*args): if settings['M_MATH_CACHE_FILE']: latex2svgextra.pickle_cache(settings['M_MATH_CACHE_FILE'])