stdlib: handle unix line endings correctly
serload: longer pause between sending files
This commit is contained in:
parent
3526060a19
commit
d91d6ab8e7
2 changed files with 2 additions and 2 deletions
|
|
@ -1352,7 +1352,7 @@ var aChar:char;
|
||||||
begin
|
begin
|
||||||
repeat
|
repeat
|
||||||
aChar := freadchar(aFile);
|
aChar := freadchar(aFile);
|
||||||
until (aChar = #13) or eof(aFile);
|
until eoln(aFile); (* eoln checks for cr, lf and eof *)
|
||||||
|
|
||||||
(*
|
(*
|
||||||
If it is a disk file, try to read the
|
If it is a disk file, try to read the
|
||||||
|
|
|
||||||
|
|
@ -296,7 +296,7 @@ def mput(filenames, ser):
|
||||||
|
|
||||||
resp = ser.read_until()
|
resp = ser.read_until()
|
||||||
|
|
||||||
time.sleep(0.5)
|
time.sleep(2)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue