Patch related to the #5767

This commit is contained in:
Miroslav Stampar
2024-08-26 00:46:26 +02:00
parent 989840c094
commit bd23ccb507
3 changed files with 5 additions and 5 deletions

View File

@@ -33,8 +33,8 @@ class Connector(GenericConnector):
def connect(self):
self.initConnection()
self.__dsn = cx_Oracle.makedsn(self.hostname, self.port, self.db)
self.__dsn = getText(self.__dsn)
# Reference: https://cx-oracle.readthedocs.io/en/latest/user_guide/connection_handling.html
self.__dsn = "%s:%d/%s" % (self.hostname, self.port, self.db)
self.user = getText(self.user)
self.password = getText(self.password)