파이썬3 호환성 추가

This commit is contained in:
joyfuI
2020-11-08 16:06:34 +09:00
parent b7d9501802
commit 7bec0524e6
4 changed files with 5 additions and 3 deletions

View File

@@ -112,7 +112,8 @@ def ajax(sub):
# UI 요청
elif sub == 'ffmpeg_version':
path = request.form['path']
ret = subprocess.check_output([path, '-version']).replace('\n', '<br>')
ret = subprocess.check_output([path, '-version'])
ret = ret.decode().replace('\n', '<br>')
return jsonify(ret)
elif sub == 'download':