From 8284267dafa239fd23d2545a5882eebab49c4ca6 Mon Sep 17 00:00:00 2001 From: redstorm45 Date: Fri, 16 Feb 2018 12:05:38 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20post=20de=20la=20qualit=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 62346ae..b702f0a 100644 --- a/main.py +++ b/main.py @@ -520,7 +520,7 @@ def post_probe(api, fileid, probe_data): api.put_video_codec(fileid, probe_data['video'][0]['name']) time.sleep(1) if 'width' in probe_data['video'][0] and 'height' in probe_data['video'][0]: - api.post_file_qualities(fileid, value=probe_data['video'][0]['width']+'x'+probe_data['video'][0]['height']) + api.post_file_qualities(fileid, value=str(probe_data['video'][0]['width'])+'x'+str(probe_data['video'][0]['height'])) time.sleep(1) if 'container' in probe_data: api.put_video_container(fileid, probe_data['container'])