|
@ -137,7 +137,7 @@ class wnd(Gtk.Window): |
|
|
|
|
|
|
|
|
h = [] |
|
|
h = [] |
|
|
for f in info['formats']: |
|
|
for f in info['formats']: |
|
|
if f['vcodec'] != "none" and f['height'] not in h: |
|
|
if isinstance(f['height'], int) and f['height'] not in h: |
|
|
h.append(f['height']) |
|
|
h.append(f['height']) |
|
|
self.controls['resolution']['e'].append_text( |
|
|
self.controls['resolution']['e'].append_text( |
|
|
"{}p".format(f['height'])) |
|
|
"{}p".format(f['height'])) |
|
|