update stapler
This commit is contained in:
parent
d4b272638f
commit
911acc84d4
@ -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())
|
||||
|
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user