Browse Source

fix curl call

pull/6/merge
lilydjwg 6 years ago
parent
commit
b6f25deb47
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      templates/elimage

+ 1
- 1
templates/elimage View File

@ -10,7 +10,7 @@ from subprocess import Popen, PIPE
args = []
for f in sys.argv[1:]:
if f == '-':
args.extend(['-F', 'name=@-;-.png'])
args.extend(['-F', 'name=@-;filename=-.png'])
else:
args.extend(['-F', 'name=@'+f])
cmd = ['curl', '--compressed', dest_url] + args


Loading…
Cancel
Save