Update pelican_import.py

Make attached_files optional, makes a lot more sense when seen from the test end.
This commit is contained in:
Stuart Axon 2017-10-12 01:41:12 +01:00 committed by GitHub
commit d41b70316c

View file

@ -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 ""