From 7a6e02a836ff3cbe3e121842fcd9ef1f5b5ed6d1 Mon Sep 17 00:00:00 2001 From: Chung-chieh Shan Date: Fri, 14 May 2021 01:48:22 +0800 Subject: [PATCH] Rename _callback to _handle_frame in PiArrayTransform Catch up with c244900240742a567302a0da02c57693e11fedfb --- picamera/array.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/picamera/array.py b/picamera/array.py index 3d2b7831..227b4549 100644 --- a/picamera/array.py +++ b/picamera/array.py @@ -866,7 +866,7 @@ def __init__(self, formats=('rgb', 'bgr', 'rgba', 'bgra')): self.inputs[0].supported_formats = formats self.outputs[0].supported_formats = formats - def _callback(self, port, source_buf): + def _handle_frame(self, port, source_buf): try: target_buf = self.outputs[0].get_buffer(False) except PiCameraPortDisabled: