bugfix
This commit is contained in:
parent
299c72023d
commit
1354b07101
@ -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 ]
|
||||||
|
Loading…
Reference in New Issue
Block a user