Treat .so like dll in dependencies

This commit is contained in:
Oleksii Shevchuk 2017-01-10 22:49:24 +02:00
parent 128666a1e0
commit b9a59da95b
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ class PupyModule(object):
dependencies = self.dependencies dependencies = self.dependencies
for d in dependencies: for d in dependencies:
if d.lower().endswith('.dll'): if d.lower().endswith(('.dll', '.so')):
self.client.load_dll(d) self.client.load_dll(d)
else: else:
self.client.load_package(d) self.client.load_package(d)