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'])