Skip to content

Commit b449451

Browse files
committed
Merge pull request #1805 from davidraleigh/patch-1
Update README.rst
2 parents fcb7085 + 436ac4d commit b449451

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,10 @@ how to create a bucket.
124124
client = storage.Client()
125125
bucket = client.get_bucket('bucket-id-here')
126126
# Then do other things...
127-
blob = bucket.get_blob('/remote/path/to/file.txt')
127+
blob = bucket.get_blob('remote/path/to/file.txt')
128128
print blob.download_as_string()
129129
blob.upload_from_string('New contents!')
130-
blob2 = bucket.blob('/remote/path/storage.txt')
130+
blob2 = bucket.blob('remote/path/storage.txt')
131131
blob2.upload_from_filename(filename='/local/path.txt')
132132
133133
Google Cloud Pub/Sub

0 commit comments

Comments
 (0)