corrected err parameter
@@ -589,9 +589,9 @@ def sample(T, outfile, limit):
click.style(
f"Started a random sample stream, writing to {outfile.name}\nCTRL+C to stop...",
fg="green",
+ ),
err=True
)
- )
for result in T.sample(event=event):
count += 1
if limit != 0 and count >= limit:
