Can't run
maze42d opened this issue · comments
Maze commented
./xborders --help
Traceback (most recent call last):
File "/home/maze/xborder/./xborders", line 10, in <module>
import draw
File "/home/maze/xborder/draw.py", line 14, in <module>
border_color: list[int] | None,
TypeError: unsupported operand type(s) for |: 'types.GenericAlias' and 'NoneType'
Whatever I do, I get this. Running gentoo, python 3.9.
István Bodnár commented
There is a workaround, if you edit the draw.py:14 like the following:
- border_color: list[int] | None,
+ border_color: list[int],
then it will work :)