jbardin/scp.py — pull request #34 by remram44 (2014-08-01 20:58:43+00:00)
Title: Fixes get() setting _rename when local_path=''

`os.path.isdir('')` returns false, which makes the library ultimately try to open the current directory as a file for writing.

This makes create a file in the current directory as intended.