Update telnet.py

This commit is contained in:
Elmon11 2020-10-31 21:07:30 +01:00 committed by GitHub
parent 1431cd1b2a
commit 68dc8b7bb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,8 +7,8 @@ class telnet():
def __init__(self, ip, port, username, password): def __init__(self, ip, port, username, password):
self.ip = ip self.ip = ip
self.port = port self.port = port
self.password = password
self.username = username self.username = username
self.password = password
def connect(self, *username): def connect(self, *username):
self.session = Telnet(self.ip, self.port) self.session = Telnet(self.ip, self.port)