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

io.IOBase does not have read, file_d is not used

This commit is contained in:
cybjit 2014-09-28 22:55:04 +02:00
parent ea057fc8fd
commit 93a3cdef35

View File

@ -22,9 +22,7 @@ class RTMP(VideoRetriever):
if self.options.resume: if self.options.resume:
args.append("-e") args.append("-e")
file_d = output(self.options, self.options.output, "flv", False) output(self.options, self.options.output, "flv", False)
if hasattr(file_d, "read") is False:
return
args += ["-o", self.options.output] args += ["-o", self.options.output]
if self.options.silent or self.options.output == "-": if self.options.silent or self.options.output == "-":
args.append("-q") args.append("-q")