X-Git-Url: https://git.ralfj.de/lilass.git/blobdiff_plain/6adc8bd3434dec9bc70c4f8f5adc0e54f990339b..158f0efbe4109a5d3df516404caa8567ddf5e03c:/zenity_frontend.py?ds=sidebyside 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):