From 1572b4fbed22c24d0e76074780265031d72af9ca Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Mon, 14 Oct 2013 14:14:56 +0200 Subject: [PATCH] User input : Unicode again --- today.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/today.py b/today.py index e430fd8..26c3e2b 100755 --- a/today.py +++ b/today.py @@ -450,7 +450,7 @@ if __name__ == "__main__": output = ACTIONS[None]() else: commande = sys.argv[1] - args = sys.argv[2:] + args = [s.decode("utf-8") for s in sys.argv[2:]] output = ACTIONS[commande](*args) if output: print output.encode("utf-8") -- 2.39.2