From 8c0a6dd5a3cbfeb457a03b7591e2cccefb1263be Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Tue, 30 Jul 2013 13:04:56 +0200 Subject: [PATCH] argument options en trop dans action remove --- client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.py b/client.py index 119c3a3..3407187 100755 --- a/client.py +++ b/client.py @@ -668,7 +668,7 @@ def confirm(options, text): def remove_file(options): """Supprime un fichier""" fname = options.fname - if not confirm(options, u'Êtes-vous sûr de vouloir supprimer %s ?' % (fname,), options): + if not confirm(options, u'Êtes-vous sûr de vouloir supprimer %s ?' % (fname,)): return message = rm_file(fname) print(message.encode("utf-8"))