remove trailing whitespace
This commit is contained in:
parent
f077b19126
commit
9fb4be1273
@ -174,7 +174,7 @@ class SFTPDestinationPlugin(DestinationPlugin):
|
||||
with sftp.open(dst_path_cn + "/" + filename, "w") as f:
|
||||
f.write(data)
|
||||
except (PermissionError) as permerror:
|
||||
if permerror.errno == 13:
|
||||
if permerror.errno == 13:
|
||||
current_app.logger.debug(
|
||||
"Uploading {0} to {1} returned Permission Denied Error, making file writable and retrying".format(filename, dst_path_cn)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user