fix recording reader was closed

reader_finished() is called when the reader closes, so the `readers -=
1` here was redundant and led to readers equalling -1 instead of 0.
This commit is contained in:
Jack Robison 2017-10-11 14:45:36 -04:00
parent 334a55bf7f
commit 4b9c881cd0
No known key found for this signature in database
GPG key ID: 284699E7404E3CFF

View file

@ -168,7 +168,6 @@ class BlobFile(object):
""" """
if file_handle is not None: if file_handle is not None:
file_handle.close() file_handle.close()
self.readers -= 1
def reader_finished(self, reader): def reader_finished(self, reader):
self.readers -= 1 self.readers -= 1