compatibility with Python 3.6

This commit is contained in:
boyska 2024-11-20 14:38:58 +01:00
parent 22aed04640
commit 91d33cc8c0

View file

@ -217,7 +217,7 @@ BACKENDS = {
def zenity_pulsate(args):
proc = subprocess.Popen(
["zenity", "--auto-close", "--progress", "--pulsate", *args],
text=True,
universal_newlines=True,
stdin=subprocess.PIPE)
try:
yield proc.stdin