Skip to content

Commit

Permalink
Merge pull request #290 from wolph/develop
Browse files Browse the repository at this point in the history
Fixed readme example. The `stream` and `lines` arguments for the `LineOffsetStreamWrapper` were swapped.
  • Loading branch information
wolph committed Dec 18, 2023
2 parents 2207153 + 2a1679a commit 19b100e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ Showing multiple independent progress bars in parallel
)
# Create a file descriptor for regular printing as well
print_fd = progressbar.LineOffsetStreamWrapper(sys.stdout, 0)
print_fd = progressbar.LineOffsetStreamWrapper(lines=0, stream=sys.stdout)
# The progress bar updates, normally you would do something useful here
for i in range(N * BARS):
Expand Down

0 comments on commit 19b100e

Please sign in to comment.