fix
This commit is contained in:
parent
a7cfeae7eb
commit
ea7005356c
@ -25,9 +25,7 @@ class htmlUtils:
|
||||
return file_path
|
||||
if os.path.exists(file_path):
|
||||
if type == "read":
|
||||
print(f"读取cache: {file_path}")
|
||||
with open(file_path,"r",encoding="utf-8") as fs:
|
||||
return fs.read()
|
||||
with open(file_path,"r",encoding="utf-8") as fs: return fs.read()
|
||||
return file_path
|
||||
else:
|
||||
return None
|
||||
|
||||
Loading…
Reference in New Issue
Block a user