diff --git a/bauh/gems/flatpak/worker.py b/bauh/gems/flatpak/worker.py index cbc9812e..cdf162ed 100644 --- a/bauh/gems/flatpak/worker.py +++ b/bauh/gems/flatpak/worker.py @@ -60,7 +60,7 @@ def run(self): cached = self.category_cache.get(c['name']) if not cached: - cached = ' '.join(RE_SPLIT_UPPER.findall(c['name'])).lower() + cached = ' '.join(RE_SPLIT_UPPER.findall(c['name'])).lower() if not c['name'].isupper() else c['name'].lower() self.category_cache.add_non_existing(c['name'], cached) cats.append(cached)