X-Git-Url: https://git.ralfj.de/lilass.git/blobdiff_plain/903dba50d3acc98129b86fb8c6a92997ec086114..d03124b04885ca4195eced8365c439b81e05a90f:/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):