Skip to content

Commit

Permalink
Flush after performing an action in the refresh case.
Browse files Browse the repository at this point in the history
  • Loading branch information
sixohsix committed Jan 29, 2012
1 parent a6a7f76 commit a2396a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions twitter/cmdline.py
Expand Up @@ -352,6 +352,7 @@ def __call__(self, twitter, options):
if (options['refresh'] and isinstance(action, StatusAction)):
while True:
doAction()
sys.stdout.flush()
time.sleep(options['refresh_rate'])
else:
doAction()
Expand Down

0 comments on commit a2396a3

Please sign in to comment.