Skip to content

Commit

Permalink
Added urwid version check
Browse files Browse the repository at this point in the history
  • Loading branch information
frazenshtein committed Apr 26, 2015
1 parent 1edabcc commit af3e5ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.1.137",
"version": "1.1.138",

"paths_history": "~/.local/share/fastcd/history.txt",
"stored_paths": "~/.local/share/fastcd/shortcuts_paths.txt",
Expand Down
2 changes: 1 addition & 1 deletion jumper.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
exit(1)

version = urwid.__version__.split(".")
if int(version[0]) < 1 or int(version[1]) < 1:
if float(version[0] + "." + version[1]) < 1.1:
print("Old urwid version detected (%s). Please, upgrade it first 'sudo pip install --upgrade urwid'" % urwid.__version__)
exit(1)

Expand Down

0 comments on commit af3e5ca

Please sign in to comment.