Skip to content

Commit

Permalink
Merge pull request #51 from mokshaproject/attribute-error
Browse files Browse the repository at this point in the history
Fix AttributeError.
  • Loading branch information
ralphbean committed Mar 9, 2018
2 parents c51a3c0 + 62a044c commit aa66ac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moksha.hub/moksha/hub/stomp/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def dataReceived(self, data):
message_id = msg['headers']['message-id']
subscription = msg['headers']['subscription']
transaction_id = msg['headers'].get('transaction-id')
response = stomper.stomp_11.nack(message_id, subscription, transaction_id)
response = stomper.nack(message_id, subscription, transaction_id)

# Finally, send our response (ACK or NACK) back to the broker.
log.debug(response)
Expand Down

0 comments on commit aa66ac6

Please sign in to comment.