Commits

Rune Halvorsen  committed 2e7d189

Added unique id to all event objects

  • Participants
  • Parent commits 426d918

Comments (0)

Files changed (1)

File site/mmcoffee.py

         created = True
         t = int(time.time() + (delta * 60)) * 1000
         event = dict(tag=tag, utctime=utc_from_minute_delta(delta),
-                           time=t, participants=[])
+                           time=t, participants=[], id=str(time.time()))
 
     event["participants"].append(nick)
     memcache.set(tag, dumps(event), time=delta*60)