Skip to content

Commit

Permalink
Fixed empty text error
Browse files Browse the repository at this point in the history
  • Loading branch information
gabber12 committed Jun 19, 2017
1 parent 1b597b4 commit f82cc50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions pyfox/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ def get_bottom_toolbar_tokens(cli):
completer=sql_completer, get_title=lambda: "Foxtrot", enable_history_search=True,
get_bottom_toolbar_tokens=get_bottom_toolbar_tokens, style=style)

if query_text is None or len(query_text) == 0:
continue
results = self.text_processor.process(query_text)
PagedPresenter(JsonFormatter()).present(results)
self._update_completion(results)
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
setup(
name = 'pyfox',
packages = ['pyfox'],
version = '0.17',
version = '0.18',
description = 'Shell for foxtrot',
author = 'Shubham Sharma',
author_email = 'shubham.sha12@gmail.com',
url = 'https://github.com/gabber12/pyfox',
download_url = 'https://github.com/gabber12/pyfox/archive/0.17.tar.gz',
download_url = 'https://github.com/gabber12/pyfox/archive/0.18.tar.gz',
classifiers = [],
entry_points = {
'console_scripts': ['foxtrot=pyfox.commands:main'],
Expand Down

0 comments on commit f82cc50

Please sign in to comment.