Commits

Gregory Petukhov committed 0c54247

change format of message

  • Participants
  • Parent commits 4bb8859

Comments (0)

Files changed (1)

     for start in xrange(0, len(items), step):
         message = []
         for item in items[start:start + step]:
-            message.append(u'%s (%s)' % (item['title'], item['link']))
+            message.append(u'%s %s' % (item['title'], item['link']))
         message = '\n'.join(message)
         client.send(xmpp.Message(to=settings.NOTIFY_ROOM, typ='groupchat', body=message))
         time.sleep(settings.MESSAGE_DELAY)