Skip to content

Commit

Permalink
rtmp: need to return nothing when file exists.
Browse files Browse the repository at this point in the history
this fixes #142
  • Loading branch information
spaam committed Oct 12, 2014
1 parent dc46471 commit f9ab8da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/svtplay_dl/fetcher/rtmp.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ def download(self):
if self.options.resume:
args.append("-e")

output(self.options, self.options.output, "flv", False)
file_d = output(self.options, self.options.output, "flv", False)
if file_d is None:
return
args += ["-o", self.options.output]
if self.options.silent or self.options.output == "-":
args.append("-q")
Expand Down

0 comments on commit f9ab8da

Please sign in to comment.