Fix RDP login

Fix RDP login, major breaking change so it is also commited on the public repo
This commit is contained in:
mpgn
2023-01-02 12:43:27 +01:00
committed by GitHub
parent 53c83f3d8c
commit d00a9bafeb
+1 -1
View File
@@ -150,7 +150,7 @@ class rdp(connection):
async def connect_rdp(self, url):
connectionfactory = RDPConnectionFactory.from_url(url, self.iosettings)
self.conn = connectionfactory.create_connection_newtarget(self.hostname, self.iosettings)
self.conn = connectionfactory.create_connection_newtarget(self.host, self.iosettings)
_, err = await self.conn.connect()
if err is not None:
raise err