removed formats without audio

Cette révision appartient à :
Hodza Alban 2017-08-08 08:20:46 +02:00 révisé par GitHub
Parent 99bb8bfaa9
révision 407cbdf7a6

Voir le fichier

@ -50,8 +50,10 @@ def get_format(bot, update):
while True: # save the formats in the formats list
try:
line = next(it)
if not line: # the last line is empty...
if not line: # the last line usually is empty...
raise StopIteration
if "video only" in line: # video without audio... why?
continue
except StopIteration:
break
else: