Permalink
Browse files

BK-684 Images are not copied over when a chapter is imported from ano…

…ther book on the server
  • Loading branch information...
1 parent 6482e3c commit 4d6238274bb38ac331ffa2f2b4fc9b5d1dd17cbe @aerkalov aerkalov committed May 3, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/booki/channels/editor.py
@@ -1001,6 +1001,7 @@ def copy_attachment(attachment, target_book):
@return: Returns new Attachment object
"""
import os.path
+ import datetime
att = models.Attachment(book = target_book,
version = target_book.version,

0 comments on commit 4d62382

Please sign in to comment.