aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index a04b0aa..06fa8e2 100644
--- a/README.md
+++ b/README.md
@@ -59,14 +59,14 @@ Livestreamer is also a library. Short example:
streams = channel.get_streams()
stream = streams["720p"]
- stream.open()
+ fd = stream.open()
while True:
- data = stream.read(1024)
+ data = fd.read(1024)
if len(data) == 0:
break
# do something with data
- stream.close()
+ fd.close()