Skip to content

Commit a7c2a8f

Browse files
authored
Update rabbit.py
fixed syntax error
1 parent 5e18098 commit a7c2a8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

emf/common/integrations/rabbit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ def __init__(self,
6767
self._connection_parameters = pika.ConnectionParameters(host=self._host,
6868
port=self._port,
6969
virtual_host=self._vhost,
70-
heartbeat: None if RMQ_HEARTBEAT_IN_SEC == "0" else int(RMQ_HEARTBEAT_IN_SEC) ,
71-
credentials=pika.PlainCredentials(username, password))
70+
credentials=pika.PlainCredentials(username, password),
71+
heartbeat: None if RMQ_HEARTBEAT_IN_SEC == "0" else int(RMQ_HEARTBEAT_IN_SEC))
7272

7373

7474

0 commit comments

Comments
 (0)