openraildata / stomp-client-python

Example code to use the Darwin v16 feed in Python 3
23 stars 12 forks source link

printing raw message #3

Closed ghost closed 4 years ago

ghost commented 5 years ago

You probably want to change

print('Raw XML is:\n' + message)

to

print('Raw XML is:\n' + msg)
poggs commented 4 years ago

Fixed - code changed to print('\n\t* Raw XML is:\n\t%s' % msg)