moving along
This commit is contained in:
1 parent
f61305d1b0
commit
788308cf44
1 file changed
+4
@@ -50,6 +50,8 @@ def convert_file(path: str, overwrite: bool = False) -> None:
|
||||
if not (os.path.exists(path) and os.path.isfile(path)):
|
||||
raise FileNotFoundError
|
||||
|
||||
print("moving the code around")
|
||||
|
||||
with open(path, "r") as file:
|
||||
soup = bs4.BeautifulSoup(file, "html.parser")
|
||||
|
||||
@@ -58,6 +60,8 @@ def convert_file(path: str, overwrite: bool = False) -> None:
|
||||
for formatter in formatters:
|
||||
formatter.format(soup)
|
||||
|
||||
print("even in between")
|
||||
|
||||
if overwrite:
|
||||
out_path = path
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user