convert SSH_KEY from PosixPath to str

This commit is contained in:
Matthieu Gautier 2018-02-03 21:51:28 +01:00
parent 2b40901294
commit 96b68fc50f

View File

@ -68,7 +68,7 @@ def make_archive(archive_name, file_to_archives):
def scp(what, where):
command = ['scp', '-i', SSH_KEY, what, where]
command = ['scp', '-i', str(SSH_KEY), what, where]
subprocess.check_call(command)