diff options
author | Jochen Sprickerhof <git@jochen.sprickerhof.de> | 2021-05-16 10:36:42 +0200 |
---|---|---|
committer | Jochen Sprickerhof <git@jochen.sprickerhof.de> | 2021-05-16 10:36:42 +0200 |
commit | 0ab68b2d4f6ad0efce45e56df8e94778fe7f758c (patch) | |
tree | a019de942b4d1bc2d84f9c1ff3819faff10ab002 | |
parent | 53aa709affef18cb2d1c5930f780dabfc5e4330c (diff) | |
download | python-magic-0ab68b2d4f6ad0efce45e56df8e94778fe7f758c.tar.gz |
Revert "Fix bug in Magic when destructor called too early"
This reverts commit 16972c2c6fda3573860f5f8b0f2c03b757e71d3c.
-rw-r--r-- | magic/__init__.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/magic/__init__.py b/magic/__init__.py index f10a38a..17456c1 100644 --- a/magic/__init__.py +++ b/magic/__init__.py @@ -53,8 +53,6 @@ class Magic: raw - Do not try to decode "non-printable" chars. extension - Print a slash-separated list of valid extensions for the file type found. """ - - self.cookie = None self.flags = MAGIC_NONE if mime: self.flags |= MAGIC_MIME_TYPE |