Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.

Commit

Permalink
fix instance down counting
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominik Neise committed Apr 30, 2018
1 parent bfa62f6 commit 6e8ba59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protozfits/simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __exit__(self, type, value, tb):
self.close()

def close(self):
File.instances = 0
File.instances -= 1

def __del__(self):
self.close()
Expand Down

0 comments on commit 6e8ba59

Please sign in to comment.