diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-01-28 18:58:48 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-28 18:58:48 +0000 |
commit | 225b199ebe8c809e982c20a2fd4d17cb313d30d5 (patch) | |
tree | ad3c251fe3af9ec9ec51dabe80911f19aae127e8 /python | |
parent | ee19ebbfad4d0f1293d95e0d0da216d851d71929 (diff) | |
parent | 858ccb20b3e0c326fc7b7f791bd6798cf15b6b46 (diff) | |
download | vyos-1x-225b199ebe8c809e982c20a2fd4d17cb313d30d5.tar.gz vyos-1x-225b199ebe8c809e982c20a2fd4d17cb313d30d5.zip |
Merge pull request #2899 from jestabro/typo-add-image-ftp
remote: T5994: fix typo in check_storage for Ftp class
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: |