From 9e8d8ab008d74167a9da2774d77013745e3a9e73 Mon Sep 17 00:00:00 2001 From: Alexandre Marcireau Date: Fri, 22 Sep 2023 11:06:58 -1000 Subject: [PATCH] Fix spatiospectrogram --- charidotella/tasks/spatiospectrogram.py | 6 +++--- charidotella/version.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charidotella/tasks/spatiospectrogram.py b/charidotella/tasks/spatiospectrogram.py index 1583c8f..53f0b92 100644 --- a/charidotella/tasks/spatiospectrogram.py +++ b/charidotella/tasks/spatiospectrogram.py @@ -88,8 +88,8 @@ def run( frame_size = width * height * 3 def cleanup(): - if es_to_frames is not None: - es_to_frames.kill() + if spatiospectrogram is not None: + spatiospectrogram.kill() if ffmpeg is not None: ffmpeg.kill() @@ -101,7 +101,7 @@ def cleanup(): ffmpeg.stdin.write(frame) ffmpeg.stdin.close() spatiospectrogram.wait() - es_to_frames = None + spatiospectrogram = None ffmpeg.wait() ffmpeg = None atexit.unregister(cleanup) diff --git a/charidotella/version.py b/charidotella/version.py index 4eabd0b..e835b9d 100644 --- a/charidotella/version.py +++ b/charidotella/version.py @@ -1 +1 @@ -__version__ = "2.1.2" +__version__ = "2.1.3"