Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94d43a4 commit 40991a5Copy full SHA for 40991a5
1 file changed
lib/core/dump.py
@@ -66,7 +66,7 @@ def __write(self, data, n=True, console=True):
66
def flush(self):
67
if self.__outputBP and self.__outputFP and self.__outputBP.tell() > 0:
68
_ = self.__outputBP.getvalue()
69
- self.__outputBP.reset()
+ self.__outputBP.truncate(0)
70
self.__outputFP.write(_)
71
72
def __formatString(self, inpStr):
0 commit comments