update stapler

This commit is contained in:
Felix Van der Jeugt 2017-04-27 18:46:57 +02:00
parent d4b272638f
commit 911acc84d4
No known key found for this signature in database
GPG Key ID: 58B209295023754D
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/python2.7
#!/usr/bin/python2
# -*- coding: utf-8 -*-
import re
@ -7,5 +7,5 @@ import sys
from staplelib import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())

View File

@ -1,4 +1,4 @@
#!/usr/bin/python2.7
#!/usr/bin/python2
# -*- coding: utf-8 -*-
import re
@ -7,5 +7,5 @@ import sys
from staplelib import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())