/usr/scripts sans / final

This commit is contained in:
Daniel STAN 2015-07-23 17:26:50 +02:00
parent 650f55e7e8
commit ebeab8a0a0
8 changed files with 23 additions and 28 deletions

View file

@ -1,11 +1,10 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import netaddr
if '/usr/scripts/' not in sys.path:
sys.path.append('/usr/scripts/')
if '/usr/scripts' not in sys.path:
sys.path.append('/usr/scripts')
import syslog
import subprocess