Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions lib/objavi/fmbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def filepath(self, fn):
def save_tempfile(self, fn, data):
"""Save the data in a temporary directory that will be cleaned
up when all is done. Return the absolute file path."""
fn = self.filepath(fn)
#fn = self.filepath(fn)
save_data(fn, data)
return fn

Expand Down Expand Up @@ -539,7 +539,8 @@ def make_templated_html(self, template=None, index=config.TEMPLATING_INDEX_FIRST
"""Make a templated html version of the book."""
#set up the directory and static files
self.unpack_static()
destdir = self.filepath(os.path.basename(self.publish_file))
#destdir = self.filepath(os.path.basename(self.publish_file))
destdir = self.publish_file
os.mkdir(destdir)

src = self.filepath('static')
Expand Down