From 50415d4a900d522bf5903944e1a4ccc108299253 Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Thu, 1 Oct 2015 22:05:37 +0200 Subject: [PATCH] ipset.py: no more /usr/scripts/gestion --- gestion/gen_confs/ipset.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gestion/gen_confs/ipset.py b/gestion/gen_confs/ipset.py index e635a1a9..3c1feb42 100644 --- a/gestion/gen_confs/ipset.py +++ b/gestion/gen_confs/ipset.py @@ -16,7 +16,8 @@ import sys -sys.path.append('/usr/scripts/gestion') +if '/usr/scripts' not in sys.path: + sys.path.append('/usr/scripts') import commands import os