This commit is contained in:
Dan Williams 2006-07-22 23:57:18 -05:00
parent b63e78a174
commit bca4e1ca9b

View File

@ -33,7 +33,7 @@ class ShellOwner(object):
# Create and announce our presence
self._pservice = PresenceService.PresenceService()
self._service = self._pservice.registerService(nick, PRESENCE_SERVICE_TYPE)
print "Owner '%s' using port %d" % (nick, service.get_port())
print "Owner '%s' using port %d" % (nick, self._service.get_port())
self._icon_stream = Stream.Stream.new_from_service(self._service)
self._icon_stream.register_reader_handler(self._handle_buddy_icon_request, "get_buddy_icon")