remove trailing whitespace

This commit is contained in:
pmelse 2019-12-27 13:25:03 -05:00 committed by GitHub
parent f077b19126
commit 9fb4be1273
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ class SFTPDestinationPlugin(DestinationPlugin):
with sftp.open(dst_path_cn + "/" + filename, "w") as f: with sftp.open(dst_path_cn + "/" + filename, "w") as f:
f.write(data) f.write(data)
except (PermissionError) as permerror: except (PermissionError) as permerror:
if permerror.errno == 13: if permerror.errno == 13:
current_app.logger.debug( current_app.logger.debug(
"Uploading {0} to {1} returned Permission Denied Error, making file writable and retrying".format(filename, dst_path_cn) "Uploading {0} to {1} returned Permission Denied Error, making file writable and retrying".format(filename, dst_path_cn)
) )