Skip to content

Commit b056389

Browse files
authored
Merge pull request #21 from peter-juritz/patch-1
Fix incorrect function call in examples.
2 parents af6c9b1 + 0c4772e commit b056389

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def iterable():
3535
yield b'this is a byte string\x01\n'
3636

3737
z = zipstream.ZipFile()
38-
z.write_iter(iterable(), 'my_archive_iter')
38+
z.write_iter('my_archive_iter', iterable())
3939

4040
with open('zipfile.zip', 'wb') as f:
4141
for data in z:

0 commit comments

Comments
 (0)