diff --git a/helpers/postgresql.py b/helpers/postgresql.py index b0d2b8fd..3c669ab5 100644 --- a/helpers/postgresql.py +++ b/helpers/postgresql.py @@ -37,8 +37,8 @@ class Postgresql: self.config = config - self.connection_string = 'postgres://{username}:{password}@{listen}/postgres'.format( - listen=self.config['connect_address'], **self.replication) + self.connection_string = 'postgres://{username}:{password}@{connect_address}/postgres'.format( + connect_address=self.config['connect_address'], **self.replication) self.conn = None self.cursor_holder = None