Resolved issue of double entry in home feed

This commit is contained in:
Anand Doshi 2011-07-07 18:18:04 +05:30
parent 1528fc0ee1
commit 2118ff109a

View file

@ -55,7 +55,7 @@ def fire_event(doc, event_name):
for t in tl:
module, method = '.'.join(t[0].split('.')[:-1]), t[0].split('.')[-1]
exec 'from %s import %s' % (module, method) in locals()
locals()[method](doc, method)
locals()[method](doc, event_name)
#
# setup
#