name -> self.name

This commit is contained in:
Michel Oosterhof
2018-06-18 17:52:06 +04:00
parent f51e885c4e
commit c5fb8b1345

View File

@ -37,7 +37,7 @@ class CowrieSSHChannel(channel.SSHChannel):
@return Pretty representation of this object as a string @return Pretty representation of this object as a string
@rtype: L{str} @rtype: L{str}
""" """
return "Cowrie SSH Channel {}".format(name) return "Cowrie SSH Channel {}".format(self.name)
def __init__(self, *args, **kw): def __init__(self, *args, **kw):