def load_theme_paths(): theme_paths = {} prefixes = (util.local_data_dir(), util.appdata_dir()) for prefix in prefixes: theme_paths.update(theme_dirs_from_prefix(prefix)) return theme_paths