summaryrefslogtreecommitdiffstats
path: root/pyfirstaidkit/reporting.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyfirstaidkit/reporting.py')
-rw-r--r--pyfirstaidkit/reporting.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyfirstaidkit/reporting.py b/pyfirstaidkit/reporting.py
index 1ee0e6b..1554b74 100644
--- a/pyfirstaidkit/reporting.py
+++ b/pyfirstaidkit/reporting.py
@@ -97,7 +97,7 @@ class Reports(object):
def end(self):
return self.put(None, FIRSTAIDKIT, None, END, importance = 1000)
- def error(self, message, level, origin, action):
+ def error(self, message, level, origin, action = INFO):
Logger.error(origin.name+": "+message)
return self.put(message, level, origin, action, importance = logging.ERROR)