fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add raw text option to text conversion (lesmianator will need it).
[librarian.git]
/
librarian
/
__init__.py
diff --git
a/librarian/__init__.py
b/librarian/__init__.py
index
0074ee9
..
5c4a355
100644
(file)
--- a/
librarian/__init__.py
+++ b/
librarian/__init__.py
@@
-130,3
+130,7
@@
SERIALIZERS = {
def serialize_children(element, format='raw'):
return SERIALIZERS[format](element)
+
+def get_resource(path):
+ return os.path.join(os.path.dirname(__file__), path)
+