def create_nodes(d):
color_dict = {
- 'rgb(139, 0, 0)': '\x01', # 'datum',
- 'red': '\x02', # 'tijd',
- 'green': '\x03', # 'wat',
- 'blue': '\x04' # 'wanneer'
+ 'rgb(139, 0, 0)': '\x01', # datum
+ 'red': '\x02', # tijd
+ 'green': '\x03', # wat
+ 'blue': '\x04' # wanneer
}
line_w_match = []
d['content'] = d['content'][1:]
title_l[match.end('content'):]
title_l = title_l[:match.start('b')] + title_l[match.end('b'):]
nodelists['Title'].append(title_l)
+ # Summary
if summary_m:
summary = summary_m[0]
matches = reversed(sorted(summary, key=lambda x: x.end('e')))