We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 504c5bd commit 8523171Copy full SHA for 8523171
src/sploitkit/core/components/config.py
@@ -300,7 +300,7 @@ def __repr__(self):
300
301
def __str__(self):
302
""" Custom string method. """
303
- return f"<{self.name}[{["N", "Y"][self.required]}]>"
+ return f"<{self.name}[{'NY'[self.required]}]>"
304
305
def __set_func(self, func, name, default_func=None):
306
""" Set a function, e.g. for manipulating option's value. """
0 commit comments