Skip to content

Commit

Permalink
FF: trying to import readline needs adding to createInitFile
Browse files Browse the repository at this point in the history
  • Loading branch information
peircej committed Feb 14, 2020
1 parent 1763055 commit 6975040
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions createInitFile.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,13 @@ def createInitFile(dist=None, version=None, sha=None):
from psychopy.tools.versionchooser import useVersion, ensureMinimal
# import readline here to get around an issue with sounddevice
# issues GH-2230 GH-2344 GH-2662
try:
import readline
except ImportError:
pass # all that will happen is the stderr/stdout might get redirected
"""


Expand Down
1 change: 1 addition & 0 deletions psychopy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,4 @@
import readline
except ImportError:
pass # all that will happen is the stderr/stdout might get redirected

0 comments on commit 6975040

Please sign in to comment.