X-Git-Url: https://git.ralfj.de/lilass.git/blobdiff_plain/a6c79626b2d248d0484b5242c0a2051da8ec84d1..7f7312acf4942364d6a5bb0b63e7f7a823c11d9b:/zenity_frontend.py diff --git a/zenity_frontend.py b/zenity_frontend.py index 7dd4d82..f6834b5 100644 --- a/zenity_frontend.py +++ b/zenity_frontend.py @@ -29,7 +29,7 @@ class ZenityFrontend(QuestionFrontend): def userChoose (self, title, choices, returns, fallback): assert len(choices) == len(returns) - args = ["zenity", "--list", "--text="+title, "--column="]+choices + args = ["zenity", "--list", "--text="+title, "--column="]+list(choices) switch = dict (list(zip (choices,returns))) try: for line in processOutputIt(*args):