更新 files_utils.py
parent
4b174c9f3e
commit
7dd5c0d661
|
|
@ -10,5 +10,6 @@ def get_path(script_name):
|
||||||
return script_path
|
return script_path
|
||||||
|
|
||||||
def read_javascript(script_path):
|
def read_javascript(script_path):
|
||||||
|
with open(script_path, "r") as file:
|
||||||
|
script_code = file.read()
|
||||||
|
return script_code
|
||||||
|
|
|
||||||
Reference in New Issue