From 26534e98c1d5f1d3cb49b241737b97d2f77034d8 Mon Sep 17 00:00:00 2001 From: Maciej Frydrych Date: Tue, 17 Oct 2023 17:52:32 +0200 Subject: [PATCH] Update __init__.py Swich from collection to collection.abc to work with new python release --- edl/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/edl/__init__.py b/edl/__init__.py index 533537c..d61e79f 100644 --- a/edl/__init__.py +++ b/edl/__init__.py @@ -3,7 +3,7 @@ Python EDL parsing library """ import sys -import collections +import collections.abc import re import pprint import timecode @@ -564,7 +564,7 @@ def parse(self, input_): stack = None if isinstance(input_, str): input_ = input_.splitlines(True) - if isinstance(input_, collections.Iterable): + if isinstance(input_, collections.abc.Iterable): stack = List(self.fps) for l in input_: for m in self.get_matchers():