From e180a9f0d3fe22637c924574c9e5db5d2355c0a6 Mon Sep 17 00:00:00 2001 From: felix Date: Sun, 29 Sep 2019 19:22:01 +0800 Subject: [PATCH] fix error --- gnes/preprocessor/video/video_decode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnes/preprocessor/video/video_decode.py b/gnes/preprocessor/video/video_decode.py index 5020c435..7c3432f1 100644 --- a/gnes/preprocessor/video/video_decode.py +++ b/gnes/preprocessor/video/video_decode.py @@ -61,7 +61,7 @@ def apply(self, doc: 'gnes_pb2.Document') -> None: c.offset = i c.weight = 1.0 elif self.chunk_spliter == 'shot': - raise NotImplemented + raise NotImplementedError else: chunk = doc.chunks.add() chunk.doc_id = doc.doc_id