From 34363220c16dea6291498afaadfe0e83f4e7ab6e Mon Sep 17 00:00:00 2001 From: Marat Fayzullin Date: Mon, 7 Nov 2022 14:49:13 -0500 Subject: [PATCH] Addressing reviewer's comments. --- owrx/audio/wav.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owrx/audio/wav.py b/owrx/audio/wav.py index 6fe7b82..d3ec2ba 100644 --- a/owrx/audio/wav.py +++ b/owrx/audio/wav.py @@ -85,7 +85,7 @@ class AudioWriter(object): file = self.wavefile self.wavefile = self.getWaveFile() - if file != None: + if file is not None: file.close() tmp_dir = CoreConfig().get_temporary_directory()