Skip to content

Commit f442fd9

Browse files
committed
Fixed file_path error
1 parent 6051f44 commit f442fd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inline-css.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
for file_path_str in FILES_LIST:
1111
file_path_list = REPO_PATH.glob(file_path_str)
1212
for file_path in file_path_list:
13-
with open(file_path_list, 'r') as file:
13+
with open(file_path, 'r') as file:
1414
html = pm.transform(file.read())
15-
with open(file_path_list, 'w') as file:
15+
with open(file_path, 'w') as file:
1616
file.write(html)

0 commit comments

Comments
 (0)