X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d2b0cc75d0835ad5384bec638fea6ea244eadb40..a9b45b86d91d95987e15f5113695d7c27e6d66a2:/src/catalogue/management/commands/importbooks.py diff --git a/src/catalogue/management/commands/importbooks.py b/src/catalogue/management/commands/importbooks.py index e5e7c89fa..e9b33642c 100644 --- a/src/catalogue/management/commands/importbooks.py +++ b/src/catalogue/management/commands/importbooks.py @@ -52,6 +52,7 @@ class Command(BaseCommand): dont_build=dont_build, search_index_tags=False, findable=options.get('findable'), + remote_gallery_url='file://' + os.path.dirname(os.path.abspath(file_base)) + '/img/' ) for ebook_format in Book.ebook_formats: if os.path.isfile(file_base + '.' + ebook_format):