diff options
| author | salmonik <raisersoft@proton.me> | 2026-04-19 15:43:32 +0200 |
|---|---|---|
| committer | salmonik <raisersoft@proton.me> | 2026-04-19 15:43:32 +0200 |
| commit | 1dcdbe3cf03ff16b3ff2e2e6d572e0b3c72c18c0 (patch) | |
| tree | f11dc45777d8b3c8ff0e2ca16be83f85b272bd48 /cogs/compression.py | |
| parent | test: add cron tests + improve existing tests (diff) | |
| download | senator-sperma-1dcdbe3cf03ff16b3ff2e2e6d572e0b3c72c18c0.tar.gz senator-sperma-1dcdbe3cf03ff16b3ff2e2e6d572e0b3c72c18c0.zip | |
refactor: simplify cogs, reduce complexity
- Remove unused imports and dead code
- Cleaner error handling
- Reduce cognitive complexity
Diffstat (limited to '')
| -rw-r--r-- | cogs/compression.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cogs/compression.py b/cogs/compression.py index 150239f..acc9eda 100644 --- a/cogs/compression.py +++ b/cogs/compression.py | |||
| @@ -275,6 +275,7 @@ class Compression(commands.Cog): | |||
| 275 | if file_type == "Image": | 275 | if file_type == "Image": |
| 276 | command, output_path = command | 276 | command, output_path = command |
| 277 | elif file_type == "Audio": | 277 | elif file_type == "Audio": |
| 278 | # Audio output path remains unchanged - already processed in _process_audio | ||
| 278 | pass | 279 | pass |
| 279 | 280 | ||
| 280 | success = await self._execute_compression(command) | 281 | success = await self._execute_compression(command) |
