fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Preliminary math and tables support.
[wolnelektury.git]
/
apps
/
catalogue
/
import_utils.py
diff --git
a/apps/catalogue/import_utils.py
b/apps/catalogue/import_utils.py
index
bf36ea5
..
ca0c6ef
100644
(file)
--- a/
apps/catalogue/import_utils.py
+++ b/
apps/catalogue/import_utils.py
@@
-14,4
+14,4
@@
class ORMDocProvider(DocProvider):
if slug == self.book.slug:
return open(self.book.xml_file.path)
else:
if slug == self.book.slug:
return open(self.book.xml_file.path)
else:
- return type(self.book).objects.get(slug=slug).xml_file
\ No newline at end of file
+ return type(self.book).objects.get(slug=slug).xml_file