Skip to content

Commit 0ab68b2

Browse files
committed
Revert "Fix bug in Magic when destructor called too early"
This reverts commit 16972c2.
1 parent 53aa709 commit 0ab68b2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

magic/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ def __init__(self, mime=False, magic_file=None, mime_encoding=False,
5353
raw - Do not try to decode "non-printable" chars.
5454
extension - Print a slash-separated list of valid extensions for the file type found.
5555
"""
56-
57-
self.cookie = None
5856
self.flags = MAGIC_NONE
5957
if mime:
6058
self.flags |= MAGIC_MIME_TYPE

0 commit comments

Comments
 (0)