hplip/hplip-py310-collections-abc.patch
2022-01-17 15:55:49 +01:00

14 lines
567 B
Diff

diff --git a/base/exif.py b/base/exif.py
index 2b8c447..38dca63 100644
--- a/base/exif.py
+++ b/base/exif.py
@@ -798,7 +798,7 @@ class EXIF_header:
tag_name=tag_entry[0]
if len(tag_entry) != 1:
# optional 2nd tag element is present
- if isinstance(tag_entry[1], collections.Callable):
+ if isinstance(tag_entry[1], collections.abc.Callable):
# call mapping function
printable=tag_entry[1](values)
else: