Skip to content

Commit

Permalink
Update input method to six's version for #51
Browse files Browse the repository at this point in the history
  • Loading branch information
machawk1 committed Jul 2, 2018
1 parent bf295d0 commit 43d1637
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ipwb/indexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
from ipfsapi.exceptions import ConnectionError
# from requests.exceptions import ConnectionError

from six.moves import input

from util import IPFSAPI_IP, IPFSAPI_PORT, IPWBREPLAY_IP, IPWBREPLAY_PORT

# from warcio.archiveiterator import ArchiveIterator
Expand Down Expand Up @@ -290,7 +292,7 @@ def askUserForEncryptionKey():
promptString = ''
print(promptString, file=sys.stderr)

key = raw_input(promptString)
key = input(promptString)

return key

Expand Down

0 comments on commit 43d1637

Please sign in to comment.