...
This commit is contained in:
parent
81467c2e7e
commit
ecea1ba241
@ -635,6 +635,7 @@ def load_themes(cache_age: float = 1., ignore_no_cache: bool = False) -> Themes:
|
|||||||
except NoCacheFound:
|
except NoCacheFound:
|
||||||
if not ignore_no_cache:
|
if not ignore_no_cache:
|
||||||
raise
|
raise
|
||||||
|
else:
|
||||||
ans.load_from_zip(fetched)
|
ans.load_from_zip(fetched)
|
||||||
ans.load_from_dir(os.path.join(config_dir, 'themes'))
|
ans.load_from_dir(os.path.join(config_dir, 'themes'))
|
||||||
ans.index_map = tuple(ans.themes)
|
ans.index_map = tuple(ans.themes)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user