Skip to content

Commit ff00e62

Browse files
committed
Avoid curtext being empty list
Fixes #8
1 parent 09dc9a2 commit ff00e62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wikicurses/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def __init__(self, page):
339339
def _render(self):
340340
self.body.clear()
341341
self.widgetnames = [(page.title, 0)]
342-
curtext = []
342+
curtext = [(0, '')]
343343
curh2 = ''
344344
prevalign = 'left'
345345
prevpadding = 0

0 commit comments

Comments
 (0)