From fe3624173038290ba6c5c682cc8f0923b35bd04d Mon Sep 17 00:00:00 2001 From: JoeLametta Date: Thu, 17 Jan 2019 11:24:08 +0000 Subject: [PATCH] Don't assign the result of a function that returns no value --- whipper/common/encode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whipper/common/encode.py b/whipper/common/encode.py index 23af808..237daa9 100644 --- a/whipper/common/encode.py +++ b/whipper/common/encode.py @@ -60,7 +60,7 @@ class FlacEncodeTask(task.Task): self.schedule(0.0, self._flac_encode) def _flac_encode(self): - self.new_path = flac.encode(self.track_path, self.track_out_path) + flac.encode(self.track_path, self.track_out_path) self.stop()