Skip to content

Commit

Permalink
Improved debug message of loaded modules
Browse files Browse the repository at this point in the history
  • Loading branch information
p0dalirius committed Jun 2, 2024
1 parent 1b53648 commit 50cd5df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smbclientng/core/InteractiveShell.py
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ def __load_modules(self):
else:
print("[debug] Loaded %d modules:" % len(self.modules.keys()))
for modulename in sorted(self.modules.keys()):
print("[debug] %s : \"%s\"" % (module.name, module.description))
print("[debug] %s : \"%s\" (%s)" % (self.modules[modulename].name, self.modules[modulename].description, self.modules[modulename]))

if self.commandCompleterObject is not None:
self.commandCompleterObject.commands["module"]["subcommands"] = list(self.modules.keys())
Expand Down

0 comments on commit 50cd5df

Please sign in to comment.