Skip to content
Snippets Groups Projects
Commit 1673d2c6 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

SW-462: fixed arguments for PostgresListener init.

parent 563ae553
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ class RADBPGListener(PostgresListener):
notification_prefix=DEFAULT_NOTIFICATION_PREFIX,
dbcreds=None,
broker=None):
super(RADBPGListener, self).__init__(dbcreds=dbcreds)
super(RADBPGListener, self).__init__(dbcreds.host, dbcreds.database, dbcreds.user, dbcreds.password)
self.notification_prefix = notification_prefix
self.event_bus = ToBus(notification_busname, broker=broker)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment