mirror of https://github.com/seebye/ueberzug
fix python39 lack of backwards compatibility
In python3.9 asyncio.Task.all_task() and asyncio.Task.current_task() were removed. See: https://docs.python.org/3/whatsnew/3.9.html#removed They advise to use asyncio.all_task() and asyncio.current_task() instead. At the time of this commit python3.6 is still used by 10% of the users (counted by the reported python version of the downloads). So we need to reduce the readability by adding redundant try except blocks.pull/128/head
parent
5f63b0c203
commit
aa8de598e8
Loading…
Reference in New Issue