summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorScott Maxwell <scott@codecobblers.com>2013-10-30 16:19:30 -0700
committerScott Maxwell <scott@codecobblers.com>2013-10-30 16:19:30 -0700
commit66cfa97cce92b1d60383d178887b18dddb999fc1 (patch)
treed4c70e30fb32d21a8b9f7cfcfbb62afbe1b5c067 /demos
parent3afc76a6b4c4b06193cdb4837ca1df1f3428fb20 (diff)
downloadparamiko-66cfa97cce92b1d60383d178887b18dddb999fc1.tar.gz
Fix imports
Diffstat (limited to 'demos')
-rwxr-xr-xdemos/demo.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/demos/demo.py b/demos/demo.py
index cbd7730e..3890eda7 100755
--- a/demos/demo.py
+++ b/demos/demo.py
@@ -30,7 +30,10 @@ import time
import traceback
import paramiko
-import interactive
+try:
+ import interactive
+except ImportError:
+ from . import interactive
def agent_auth(transport, username):