Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 40991a5

Browse files
committed
minor fix
1 parent 94d43a4 commit 40991a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/dump.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def __write(self, data, n=True, console=True):
6666
def flush(self):
6767
if self.__outputBP and self.__outputFP and self.__outputBP.tell() > 0:
6868
_ = self.__outputBP.getvalue()
69-
self.__outputBP.reset()
69+
self.__outputBP.truncate(0)
7070
self.__outputFP.write(_)
7171

7272
def __formatString(self, inpStr):

0 commit comments

Comments
 (0)