diff --git a/doc/source/index.rst b/doc/source/index.rst index f33e808..dc9a0db 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -11,7 +11,7 @@ In order to use the python api directly, you must first obtain an auth token and >>> print image.status 'active' >>> with open('/tmp/copyimage.iso', 'wb') as f: - for chunk in image.data: + for chunk in image.data(): f.write(chunk) >>> image.delete()