Skip to content

Commit

Permalink
Accept 'unicode' on Python 2
Browse files Browse the repository at this point in the history
  • Loading branch information
remram44 committed Sep 10, 2021
1 parent 8323198 commit dede98e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scp.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
pathlib = None
else:
PATH_TYPES += pathlib.PurePath,
try:
PATH_TYPES += unicode,
except NameError:
pass


def _sh_quote(s):
Expand Down

0 comments on commit dede98e

Please sign in to comment.