Skip to content

Commit

Permalink
Merge pull request NYUCCL#255 from NYUCCL/173-import-gnureadline-if-a…
Browse files Browse the repository at this point in the history
…vailable

import gnureadline if available
  • Loading branch information
deargle authored Jan 24, 2017
2 parents 3273512 + 427ead5 commit 4fc0164
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion psiturk/psiturk_shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@

from cmd2 import Cmd
from docopt import docopt, DocoptExit
import readline

try:
import gnureadline as readline
except ImportError:
import readline

import webbrowser
import sqlalchemy as sa
Expand Down

0 comments on commit 4fc0164

Please sign in to comment.