summaryrefslogtreecommitdiffhomepage
path: root/demos/demo.py
diff options
context:
space:
mode:
Diffstat (limited to 'demos/demo.py')
-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):