Skip to content

Commit 8d9789d

Browse files
committed
Use utils.stderr instead of print() in wptools.core
1 parent b209614 commit 8d9789d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wptools/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def _get(self, action, show, proxy, timeout):
8585
raise StopIteration("Hit REQUEST_LIMIT = %d" % self.REQUEST_LIMIT)
8686

8787
if self.data['requests'] and self.REQUEST_DELAY:
88-
print("REQUEST_DELAY = %d seconds" % self.REQUEST_DELAY)
88+
utils.stderr("REQUEST_DELAY = %d seconds" % self.REQUEST_DELAY)
8989
sleep(self.REQUEST_DELAY)
9090

9191
# make the request

0 commit comments

Comments
 (0)