diff options
| author | salmonik <raisersoft@proton.me> | 2025-10-02 12:59:50 +0200 |
|---|---|---|
| committer | salmonik <raisersoft@proton.me> | 2025-10-02 12:59:50 +0200 |
| commit | ab75aac34d4a4a20e01c0ed5ae08f1c46cfdba86 (patch) | |
| tree | ef819eb4b63d8eacd0ec175e45268bc0e14db690 /cogs | |
| parent | added argument support for conversion.py (diff) | |
| download | senator-sperma-ab75aac34d4a4a20e01c0ed5ae08f1c46cfdba86.tar.gz senator-sperma-ab75aac34d4a4a20e01c0ed5ae08f1c46cfdba86.zip | |
fixed file overwrite
Diffstat (limited to 'cogs')
| -rw-r--r-- | cogs/conversion.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cogs/conversion.py b/cogs/conversion.py index deb7c80..2bfd3e9 100644 --- a/cogs/conversion.py +++ b/cogs/conversion.py | |||
| @@ -47,7 +47,7 @@ class Conversion(commands.Cog): | |||
| 47 | await plik.save(file_path) | 47 | await plik.save(file_path) |
| 48 | 48 | ||
| 49 | input_path = file_path | 49 | input_path = file_path |
| 50 | output_path = os.path.join(temp_dir, f"{filename_noext}.{output_format}") | 50 | output_path = os.path.join(temp_dir, f"{filename_noext}k.{output_format}") |
| 51 | file_type = filetype(file_path) | 51 | file_type = filetype(file_path) |
| 52 | logger.info(f"Conversion started for: {file_type}") | 52 | logger.info(f"Conversion started for: {file_type}") |
| 53 | if file_type == "Video" or file_type == "Audio": | 53 | if file_type == "Video" or file_type == "Audio": |
