diff --git a/target_csv.py b/target_csv.py index c372545..391a1d1 100755 --- a/target_csv.py +++ b/target_csv.py @@ -10,7 +10,10 @@ import http.client import urllib from datetime import datetime -import collections +if sys.version_info.major == 3 and sys.version_info.minor >= 10: + import collections.abc as collections +else: + import collections import pkg_resources from jsonschema.validators import Draft4Validator