bonobo icon indicating copy to clipboard operation
bonobo copied to clipboard

python 3.10 fix

Open veszig opened this issue 3 years ago • 1 comments

Minor fix for a python 3.10 issue: Sequence was moved from collections to collections.abc, so an import has to be changed.

veszig avatar Nov 10 '21 14:11 veszig

@veszig I forked this due to experiencing this issue as well. I'd suggest that we add a conditional import so that this works with previous versions.

if sys.version_info > (version_number,):
    import module1
else:
    import module2

slanderaan avatar Dec 25 '21 12:12 slanderaan