From 499ed610723c547ef24a4bbe711da02c0cd94e24 Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Wed, 10 Jun 2015 11:40:37 +0200 Subject: [PATCH] attributs: retrait du shabang --- attributs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/attributs.py b/attributs.py index cf5fabe..5df039d 100644 --- a/attributs.py +++ b/attributs.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # -*- coding: utf-8 -*- # @@ -51,7 +50,8 @@ from crans_utils import format_tel, format_mac, mailexist, validate_name, ip4_of from crans_utils import to_generalized_time_format, from_generalized_time_format import itertools -sys.path.append("/usr/scripts") +if '/usr/scripts' not in sys.path: + sys.path.append("/usr/scripts") import cranslib.deprecated from gestion import config