Skip to content

Commit

Permalink
Merge pull request #24 from Natureshadow/master
Browse files Browse the repository at this point in the history
Catches empty username on user search (closes #23).
  • Loading branch information
rjw57 committed Sep 28, 2013
2 parents 6e57773 + 4eace42 commit ed3c481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/yt/__init__.py
Expand Up @@ -265,7 +265,7 @@ def _run_pager(self):
pass
elif c == ord('u'): # user
s = self._input('user')
if s is not None:
if s is not None and len(s) > 0:
self._feed = user(s)
self._last_feed = None
self._ordering = 'published'
Expand Down

0 comments on commit ed3c481

Please sign in to comment.