Commit 186dae9f authored by Vincent Pelletier's avatar Vincent Pelletier

Fix typo.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20193 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a1c3aaf4
...@@ -436,7 +436,7 @@ class Alarm(XMLObject, PeriodicityMixin): ...@@ -436,7 +436,7 @@ class Alarm(XMLObject, PeriodicityMixin):
if self.sense(): if self.sense():
prefix = 'ERROR' prefix = 'ERROR'
else: else:
if notification_mode != 'always' if notification_mode != 'always':
return return
prefix = 'INFO' prefix = 'INFO'
notification_tool = getToolByName(self, 'portal_notifications') notification_tool = getToolByName(self, 'portal_notifications')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment