diff options
Diffstat (limited to 'python3.10_fix.patch')
-rw-r--r-- | python3.10_fix.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/python3.10_fix.patch b/python3.10_fix.patch new file mode 100644 index 000000000000..d93efc78b9af --- /dev/null +++ b/python3.10_fix.patch @@ -0,0 +1,12 @@ +diff -Naur ./python-system_hotkey.orig/system_hotkey/system_hotkey.py ./python-system_hotkey/system_hotkey/system_hotkey.py +--- ./python-system_hotkey.orig/system_hotkey/system_hotkey.py 2021-12-15 12:22:51.996228526 -0500 ++++ ./python-system_hotkey/system_hotkey/system_hotkey.py 2021-12-15 12:23:31.192184801 -0500 +@@ -285,7 +285,7 @@ + + thread safe + ''' +- assert isinstance(hotkey, collections.Iterable) and type(hotkey) not in (str, bytes) ++ assert isinstance(hotkey, collections.abc.Iterable) and type(hotkey) not in (str, bytes) + if self.consumer == 'callback' and not callback: + raise TypeError('Function register requires callback argument in non sonsumer mode') + |