diff --git a/lib/svtplay_dl/fetcher/rtmp.py b/lib/svtplay_dl/fetcher/rtmp.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay_dl/fetcher/rtmp.py
+++ b/lib/svtplay_dl/fetcher/rtmp.py
@@ -22,9 +22,7 @@ class RTMP(VideoRetriever):
         if self.options.resume:
             args.append("-e")
 
-        file_d = output(self.options, self.options.output, "flv", False)
-        if hasattr(file_d, "read") is False:
-            return
+        output(self.options, self.options.output, "flv", False)
         args += ["-o", self.options.output]
         if self.options.silent or self.options.output == "-":
             args.append("-q")
io.IOBase does not have read, file_d is not used