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