From ac901528c325bfc7f62e7a3c5c7f1a8c43f3d18a Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Sun, 30 Oct 2016 05:22:30 +0100 Subject: [PATCH] [mod] uses + for strings --- src/yunohost/certificate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yunohost/certificate.py b/src/yunohost/certificate.py index 5f8c7ff2c..de21299d1 100644 --- a/src/yunohost/certificate.py +++ b/src/yunohost/certificate.py @@ -666,7 +666,7 @@ def _name_selfCA(): def _tail(n, filePath): - stdin, stdout = os.popen2("tail -n " + str(n) + " " + filePath) + stdin, stdout = os.popen2("tail -n %s '%s'" % (n, filePath)) stdin.close() lines = stdout.readlines() stdout.close()