diff --git a/tqdm/std.py b/tqdm/std.py index bc83e061..6142b1b9 100644 --- a/tqdm/std.py +++ b/tqdm/std.py @@ -1165,8 +1165,7 @@ class tqdm(Comparable): # If the bar is disabled, then just walk the iterable # (note: keep this check outside the loop for performance) if self.disable: - for obj in iterable: - yield obj + yield from iterable return mininterval = self.mininterval