Compare commits

..

2 commits

Author SHA1 Message Date
455863c138
Update requirements.txt 2022-12-20 16:19:49 +01:00
eebd5d8c6d
Add moderation TUI
This ended up way fancier than I imagined.
2022-12-20 16:19:49 +01:00

View file

@ -104,7 +104,7 @@ class MIMEHandler:
break break
if cat in self.exceptions: if cat in self.exceptions:
cat = self.exceptions[cat].get(ext, MIMECategory.Fallback) cat = self.exceptions[cat].get(ext) or cat
return cat return cat