mirror of https://github.com/n1nj4sec/pupy.git
Fix listdir
This commit is contained in:
parent
49503269c8
commit
a9c415c30e
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue