mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Update pelican_import.py
Make attached_files optional, makes a lot more sense when seen from the test end.
This commit is contained in:
parent
f92d62ab70
commit
d41b70316c
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ except ImportError:
|
|||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def decode_wp_content(content, attached_files, br=True):
|
||||
def decode_wp_content(content, attached_files=None, br=True):
|
||||
pre_tags = {}
|
||||
if content.strip() == "":
|
||||
return ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue