Fix situation with clientless modules

This commit is contained in:
Oleksii Shevchuk 2017-06-09 21:52:58 +03:00
parent b2abe82b55
commit 3e66a367c6
1 changed files with 2 additions and 1 deletions

View File

@ -308,7 +308,8 @@ class PupyModule(object):
else:
dependencies = self.dependencies
self.client.load_package(dependencies, new_deps=self.new_deps)
if self.client:
self.client.load_package(dependencies, new_deps=self.new_deps)
def clean_dependencies(self):
for d in self.new_deps: