From 118fa4700e8f5ae69a3019f20c5c61f806ceeca1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= Date: Thu, 27 Aug 2015 13:46:17 +0200 Subject: [PATCH] Rend les noms de partoches plus clairs pour l'adh --- utils/quota.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/quota.py b/utils/quota.py index a27b045d..5ecc35bf 100644 --- a/utils/quota.py +++ b/utils/quota.py @@ -17,6 +17,7 @@ def getUserQuota(user): quotas = [] for a_line in string_result[2:-1]: usage, quota, limite, percentage, fs = a_line.split("\t") + fs = fs.replace("/home-adh", "/home") if "mail" in fs: label = u"Quota dans votre boite de réception" elif fs == "/home-adh/%s" % (user[0],):