Skip to content

Commit

Permalink
[flatpak] fix: upper categories split
Browse files Browse the repository at this point in the history
  • Loading branch information
vinifmor committed Oct 24, 2019
1 parent c631ecd commit 669206e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bauh/gems/flatpak/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 669206e

Please sign in to comment.