You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thank you, when i use this on windows, it does not work like normal, may be a bug
OS: windows 7
OS default coding: koi8-r
test file: test.log, this log just have two words, and no line breaks
content: test result
expect: test result
but result is: test resul
after read the source code, i found this is a bug when it work on windows
When i update this line
data = self.fp.read(end_pos - self.fp.tell() - 1)
to
data = self.fp.read(end_pos - self.fp.tell())
it works like expect
The text was updated successfully, but these errors were encountered:
Hi, thank you, when i use this on windows, it does not work like normal, may be a bug
OS: windows 7
OS default coding: koi8-r
test file: test.log, this log just have two words, and no line breaks
content: test result
expect: test result
but result is: test resul
after read the source code, i found this is a bug when it work on windows
When i update this line
to
it works like expect
The text was updated successfully, but these errors were encountered: