We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f636a4c commit 1af3f77Copy full SHA for 1af3f77
1 file changed
ffmpeg_normalize/_media_file.py
@@ -616,7 +616,7 @@ def _second_pass(self) -> Iterator[float]:
616
raise e
617
else:
618
# only move the temp file if it's not a null device and ReplayGain is not enabled!
619
- if self.output_file != os.devnull and not self.ffmpeg_normalize.replaygain:
+ if self.output_file != os.devnull and temp_file and not self.ffmpeg_normalize.replaygain:
620
_logger.debug(
621
f"Moving temporary file from {temp_file} to {self.output_file}"
622
)
0 commit comments