1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 04:05:39 +01:00

generic: return the site when we found it

This commit is contained in:
Johan Andersson 2013-02-27 18:06:24 +01:00
parent 6f3889fada
commit fafca242c1

View File

@ -1263,9 +1263,7 @@ class generic(object):
url = match.group(1) url = match.group(1)
for i in sites: for i in sites:
if i.handle(url): if i.handle(url):
stream = i return url, i
break
return url, stream
def progressbar(total, pos, msg=""): def progressbar(total, pos, msg=""):
""" """