🐛 Fix a Py3 bug with the self._printer wrapper in plugins
This commit is contained in:
1 parent
924cd5cb4c
commit
b42c753d3f
1 file changed
+3
@@ -478,6 +478,9 @@ class Server(object):
|
||||
class TaggedFuncsPrinter(wrapt.ObjectProxy):
|
||||
def __getattribute__(self, attr):
|
||||
__wrapped__ = super(TaggedFuncsPrinter, self).__getattribute__("__wrapped__")
|
||||
if attr == "__wrapped__":
|
||||
return __wrapped__
|
||||
|
||||
item = getattr(__wrapped__, attr)
|
||||
if callable(item) \
|
||||
and ("tags" in item.__code__.co_varnames or "kwargs" in item.__code__.co_varnames) \
|
||||
|
||||
Reference in new issue
Block a user