From 1c7a8dc2b72408f0278e93f55e02593f39d49b70 Mon Sep 17 00:00:00 2001 From: vicky Date: Sun, 13 Feb 2022 17:57:06 +0100 Subject: [PATCH] added empty functions for images and shorotcuts --- src/bootstraparse/modules/preparser.py | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/bootstraparse/modules/preparser.py b/src/bootstraparse/modules/preparser.py index cc61971..09ed2c4 100644 --- a/src/bootstraparse/modules/preparser.py +++ b/src/bootstraparse/modules/preparser.py @@ -101,8 +101,8 @@ class PreParser: def export_with_imports(self): """ - Return the file object with all imports done - :return: a filelike object with all imports done + Return the file object with all file imports done + :return: a filelike object with all file imports done """ self.make_import_list() @@ -124,6 +124,18 @@ class PreParser: temp_file.seek(0) return temp_file + def parse_pictures(self): + """ + Return the file object with all image imports done + :return: a filelike object with all image imports done + """ + + def parse_shortcuts(self): + """ + Return the file object with all image imports done + :return: a filelike object with all image imports done + """ + # todo: test import in sub-folders # todo: test same imports on multiple lines