diff options
author | John Estabrook <jestabro@vyos.io> | 2024-01-29 10:19:16 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-29 10:19:16 -0600 |
commit | b9005b289ef00841a195705ff7c068cd3b85396e (patch) | |
tree | 6ca09023680dfddc8fbab464c9cd069f0a4146d6 /python | |
parent | 310c3f3b5c81eb6ef15b0f313cd2f932d0a079e9 (diff) | |
parent | acd01da065344fdd96fc63fed3b2c6ea8e6e3fac (diff) | |
download | vyos-1x-b9005b289ef00841a195705ff7c068cd3b85396e.tar.gz vyos-1x-b9005b289ef00841a195705ff7c068cd3b85396e.zip |
Merge pull request #2900 from vyos/mergify/bp/sagitta/pr-2899
remote: T5994: fix typo in check_storage for Ftp class (backport #2899)
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/remote.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/remote.py b/python/vyos/remote.py index b1efcd10b..830770d11 100644 --- a/python/vyos/remote.py +++ b/python/vyos/remote.py @@ -148,7 +148,7 @@ class FtpC: # Almost all FTP servers support the `SIZE' command. size = conn.size(self.path) if self.check_space: - check_storage(path, size) + check_storage(location, size) # No progressbar if we can't determine the size or if the file is too small. if self.progressbar and size and size > CHUNK_SIZE: with Progressbar(CHUNK_SIZE / size) as p: |