Skip to content

Commit

Permalink
bug fix for ipython (#288)
Browse files Browse the repository at this point in the history
Co-authored-by: Staiger, Christine <[email protected]>
  • Loading branch information
chStaiger and Staiger, Christine authored Nov 25, 2024
1 parent 6c1652b commit 50293b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibridges/interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def interactive_auth(
n_tries = 0
success = False
while not success and n_tries < 3:
if sys.stdin.isatty():
if sys.stdin.isatty() or 'ipykernel' in sys.modules:
password = getpass('Your iRODS password: ')
else:
print('Your iRODS password: ')
Expand Down

0 comments on commit 50293b4

Please sign in to comment.