diff --git a/ikog.py b/ikog.py
index 9658424..7b699ff 100755
--- a/ikog.py
+++ b/ikog.py
@@ -2057,10 +2057,10 @@ class TodoList:
if self.isViewable(item):
if first:
if div:
- print divider
+ self.print_divider()
self.output(outHtml, outStd)
if not gColor.usingColor() and not first:
- print divider
+ self.print_divider()
count = count + 1
count = count + self.printItem(n, color)
first = False
@@ -2209,6 +2209,14 @@ class TodoList:
webbrowser.open(safeName)
except Exception, e:
self.showError("Unable to launch html output. " + str(e))
+
+ def print_divider(self):
+ if divider:
+ self.print_divider()
+
+ def print_ruler(self):
+ if ruler:
+ print ruler
class Abbreviations:
def __init__(self, project = False):