Commits

Kirill Simonov  committed 0ad228f

Fixed two typos in the `ConnectPGSQL` adapter.

  • Participants
  • Parent commits ed65e24

Comments (0)

Files changed (1)

File src/htsql_pgsql/connect.py

         parameters = {}
         parameters['database'] = db.database
         if db.host is not None:
-            parameters['host'] = db.hosts
+            parameters['host'] = db.host
         if db.port is not None:
             parameters['port'] = db.port
         if db.username is not None:
             return error
 
         # Otherwise, let the superclass return `None`.
-        return super(PGSQLConnect, self).normalize_error(exception)
+        return super(ConnectPGSQL, self).normalize_error(exception)
 
 
 connect_adapters = find_adapters()