diff --git a/pelican/tools/pelican_import.py b/pelican/tools/pelican_import.py index 8f50d004..f85e7a3c 100755 --- a/pelican/tools/pelican_import.py +++ b/pelican/tools/pelican_import.py @@ -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 ""