Skip to content

Commit

Permalink
Fix spatiospectrogram
Browse files Browse the repository at this point in the history
  • Loading branch information
aMarcireau committed Sep 22, 2023
1 parent 2278af6 commit 9e8d8ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions charidotella/tasks/spatiospectrogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand All @@ -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)
2 changes: 1 addition & 1 deletion charidotella/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.1.2"
__version__ = "2.1.3"

0 comments on commit 9e8d8ab

Please sign in to comment.