Commits

Josh VanderLinden committed 9665bbb

Eesh, this is dumb

  • Participants
  • Parent commits 962a659
  • Tags daemon-tracks-messages

Comments (0)

Files changed (2)

 # Maintainer: Josh VanderLinden <arch@cloudlery.com>
 pkgname=zedify
 pkgver=20130516
-pkgrel=4
+pkgrel=5
 pkgdesc="Deliver message notifications to remote machines"
 arch=('any')
 url="http://bitbucket.org/codekoala/zedify"

File zedify/remote.py

             self.pub.close()
             self.sub.close()
 
-    def handle_status(self, msg):
+    def handle_status(self, msg=None):
         """Publish the number of unseen messages"""
 
+        msg = msg or {}
         self.pub.send_json({
             'event': 'current_status',
             'unseen': {k: len(v) for k, v in self.unseen.items() if v}