[sip] Utilisation de #!/bin/bash /usr/scripts/python.sh sur les scripts

This commit is contained in:
Valentin Samir 2015-05-29 19:50:29 +02:00
parent 7c98e01e56
commit 9078c80d34
5 changed files with 8 additions and 13 deletions

View file

@ -1,8 +1,7 @@
#!/usr/bin/env python
#!/bin/bash /usr/scripts/python.sh
# -*- coding: utf-8 -*-
import sys
sys.path.append('/usr/scripts/sip/')
from asterisk import Sms
from sip.asterisk import Sms
if __name__ == '__main__' :
if len(sys.argv)>4: