From f2b5f85dab6561854121c91080a211f6c284ffa5 Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Tue, 21 Jul 2020 18:08:57 +0100 Subject: [PATCH] target/file_xfer: Fix incorrect method call --- devlib/target.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devlib/target.py b/devlib/target.py index a1f6d96..929294c 100644 --- a/devlib/target.py +++ b/devlib/target.py @@ -421,7 +421,7 @@ class Target(object): if not dst_is_dir(dest): raise dst_excep('A folder dest is required for multiple matches but destination is a file: {}'.format(dest)) else: - dst_makedirs(dest) + dst_mkdir(dest) def push(self, source, dest, as_root=False, timeout=None, globbing=False): # pylint: disable=arguments-differ