fix UTF-8 issue

This commit is contained in:
Bjoern Gruening
2020-08-21 23:18:55 +02:00
committed by mvdbeek
parent edc8ecd840
commit 47b2f98abe
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -139,6 +139,8 @@ jobs:
steps:
- *restore_repo_cache
- *install_tox
- *install_wave
- *install_ffprobe
- run: tox -e test_galaxy_packages
js_unit:
docker:
+1 -1
View File
@@ -12,7 +12,7 @@ from galaxy.util import which
def ffprobe(path):
data = json.loads(subprocess.check_output(['ffprobe', '-loglevel', 'quiet', '-show_format', '-show_streams', '-of', 'json', path]))
data = json.loads(subprocess.check_output(['ffprobe', '-loglevel', 'quiet', '-show_format', '-show_streams', '-of', 'json', path]).decode("utf-8"))
return data['format'], data['streams']