forgot to clear readBuffer upon data_rewinding...

This commit is contained in:
Philip Eisenlohr 2014-02-06 16:37:45 +00:00
parent bc4cc20c55
commit 4e5803fc36
1 changed files with 2 additions and 1 deletions

View File

@ -195,7 +195,8 @@ class ASCIItable():
# ------------------------------------------------------------------
def data_rewind(self):
self.__IO__['in'].seek(self.__IO__['dataStart'])
self.__IO__['in'].seek(self.__IO__['dataStart']) # position file to start of data section
self.__IO__['readBuffer'] = [] # delete any non-advancing data reads
# ------------------------------------------------------------------
def data_skipLines(self,count):