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

lemonwhale: don't use file as symbolname (py builtin)

Reported by pylint.
This commit is contained in:
Olof Johansson 2014-07-22 10:10:11 +02:00
parent 54f6b1c3a9
commit 91a4718b36

View File

@ -42,5 +42,6 @@ class Lemonwhale(Service):
high = mediafiles.find("{http://www.lemonwhale.com/xml11}VideoURLHigh")
if high.text:
yield HTTP(copy.copy(options), high.text, 720)
file = mediafiles.find("{http://www.lemonwhale.com/xml11}VideoURL").text
yield HTTP(copy.copy(options), file, 480)
videourl = mediafiles.find(
"{http://www.lemonwhale.com/xml11}VideoURL").text
yield HTTP(copy.copy(options), videourl, 480)