Fix flake8

This commit is contained in:
Mathias Petermann 2020-09-30 08:39:41 +02:00
parent e06bdcf2a3
commit b93d271f31
2 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@
.. moduleauthor:: Dmitry Zykov https://github.com/DmitryZykov
"""
from os import path, walk
from os import path
import paramiko
@ -194,7 +194,7 @@ class SFTPDestinationPlugin(DestinationPlugin):
for part in allparts:
try:
if part != "/" and part != "":
remote_path = path.join(remote_path, part);
remote_path = path.join(remote_path, part)
sftp.stat(remote_path)
except IOError:
current_app.logger.debug("{0} doesn't exist, trying to create it".format(remote_path))