Fix listdir

This commit is contained in:
Oleksii Shevchuk 2018-02-24 15:33:22 +02:00
parent 49503269c8
commit a9c415c30e
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ class DownloaderScript(PupyModule):
def download_dir(self, remotepath, localpath, filter=None, chunk_size=16000, log=None):
risdir = self.client.remote('os.path', 'isdir', False)
rlistdir = self.client.remote('os.path', 'listdir')
rlistdir = self.client.remote('os', 'listdir')
rjoin = self.client.remote('os.path', 'join')
if not risdir(localpath):