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 = '' data = ''
async with aiofiles.open(path,'r', encoding='utf-8') as f: async with aiofiles.open(path,'r', encoding='utf-8') as f:
data = await f.read() data = await f.read()
print(f'loadScript(), {path=}, {data=}')
b= ''.join(data.split('\r')) b= ''.join(data.split('\r'))
lines = b.split('\n') lines = b.split('\n')
lines = ['\t' + l for l in lines ] lines = ['\t' + l for l in lines ]