Now XSLT file is always searched for in a directory in which book2htm.py resides.
[wolnelektury.git] / catalogue / utils.py
1 # -*- coding: utf-8 -*-
2
3
4 def split_tags(tags):
5     result = {}
6     for tag in tags:
7         result.setdefault(tag.category, []).append(tag)
8     return result
9