diff options
author | Joe Hildebrand <joe-github@cursive.net> | 2012-10-31 12:49:33 -0600 |
---|---|---|
committer | Joe Hildebrand <joe-github@cursive.net> | 2012-10-31 12:49:33 -0600 |
commit | 48def71d0c35755d0d34f3be4ebc35a26c12693b (patch) | |
tree | d26b36700616356c5668c32d0a5db29f885c0239 /examples/ibb_transfer/ibb_receiver.py | |
parent | c8c20fff71c31cfcaee9cda44b4cfddfd0763cc2 (diff) | |
parent | 12e8bb6ddcd686ec9835ba478a112984e65120a1 (diff) | |
download | slixmpp-48def71d0c35755d0d34f3be4ebc35a26c12693b.tar.gz slixmpp-48def71d0c35755d0d34f3be4ebc35a26c12693b.tar.bz2 slixmpp-48def71d0c35755d0d34f3be4ebc35a26c12693b.tar.xz slixmpp-48def71d0c35755d0d34f3be4ebc35a26c12693b.zip |
Merge branch 'master' of git://github.com/fritzy/SleekXMPP into develophildjj-dev
# By Lance Stout
# Via Lance Stout
* 'master' of git://github.com/fritzy/SleekXMPP:
Turns out not all data is UTF-8, so don't try to decode it.
Diffstat (limited to 'examples/ibb_transfer/ibb_receiver.py')
-rwxr-xr-x | examples/ibb_transfer/ibb_receiver.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ibb_transfer/ibb_receiver.py b/examples/ibb_transfer/ibb_receiver.py index 18d18f92..0169d63d 100755 --- a/examples/ibb_transfer/ibb_receiver.py +++ b/examples/ibb_transfer/ibb_receiver.py @@ -85,7 +85,7 @@ class IBBReceiver(sleekxmpp.ClientXMPP): def stream_opened(self, stream): # NOTE: IBB streams are bi-directional, so the original sender is # now the opened stream's receiver. - print('Stream opened: %s from ' % (stream.sid, stream.receiver)) + print('Stream opened: %s from %s' % (stream.sid, stream.receiver)) # You could run a loop reading from the stream using stream.recv(), # or use the ibb_stream_data event. |