summaryrefslogtreecommitdiffhomepage
path: root/demos/demo_simple.py
diff options
context:
space:
mode:
Diffstat (limited to 'demos/demo_simple.py')
-rwxr-xr-xdemos/demo_simple.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/demo_simple.py b/demos/demo_simple.py
index 691457eb..5bcc2148 100755
--- a/demos/demo_simple.py
+++ b/demos/demo_simple.py
@@ -66,6 +66,7 @@ try:
host_keys = paramiko.util.load_host_keys(os.path.expanduser('~/.ssh/known_hosts'))
except IOError:
try:
+ # try ~/ssh/ too, because windows can't have a folder named ~/.ssh/
host_keys = paramiko.util.load_host_keys(os.path.expanduser('~/ssh/known_hosts'))
except IOError:
print '*** Unable to open host keys file'