summaryrefslogtreecommitdiff
path: root/python/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/settings.py')
-rw-r--r--python/settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/settings.py b/python/settings.py
index b508e863..7297f157 100644
--- a/python/settings.py
+++ b/python/settings.py
@@ -137,7 +137,7 @@ class Settings:
self.handle = _handle
def __del__(self):
- if self.handle is not Settings.default_handle and self.handle is not None:
+ if self.handle is not Settings.default_handle:
core.BNFreeSettings(self.handle)
def __eq__(self, other):