From 9e101fcd9920ade23cf0b07e031dcc41677fdef6 Mon Sep 17 00:00:00 2001 From: eric Date: Mon, 9 Apr 2018 16:29:04 -0400 Subject: [PATCH] inconsequential bug --- core/models/bibmodels.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/models/bibmodels.py b/core/models/bibmodels.py index ee0991b5..28610ed9 100644 --- a/core/models/bibmodels.py +++ b/core/models/bibmodels.py @@ -1083,7 +1083,7 @@ class EbookFile(models.Model): source=self.file.url ) - new_mobi_ebf.file.save(path_for_file('ebf', None), mobi_cf) + new_mobi_ebf.file.save(path_for_file(new_mobi_ebf, None), mobi_cf) new_mobi_ebf.save() if self.ebook: new_ebook = Ebook.objects.create(