diff --git a/scripts/flipper/storage.py b/scripts/flipper/storage.py index 9f6f52156fd..4640262bce9 100644 --- a/scripts/flipper/storage.py +++ b/scripts/flipper/storage.py @@ -323,7 +323,7 @@ def exist_dir(self, path: str): return False raise FlipperStorageException.from_error_code(path, error_code) - return True + return response == b"Directory" or response.startswith(b"Storage") def exist_file(self, path: str): """Does file exist on Flipper"""