This commit is contained in:
yumoqing 2024-02-19 13:49:10 +08:00
parent 299c72023d
commit 1354b07101

View File

@ -175,6 +175,7 @@ class PythonScriptProcessor(BaseProcessor):
data = ''
async with aiofiles.open(path,'r', encoding='utf-8') as f:
data = await f.read()
print(f'loadScript(), {path=}, {data=}')
b= ''.join(data.split('\r'))
lines = b.split('\n')
lines = ['\t' + l for l in lines ]