diff options
Diffstat (limited to 'python/settings.py')
| -rw-r--r-- | python/settings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/settings.py b/python/settings.py index 89a11ca1..447604c5 100644 --- a/python/settings.py +++ b/python/settings.py @@ -91,7 +91,7 @@ class Settings(object): return ctypes.addressof(self.handle.contents) != ctypes.addressof(value.handle.contents) def __hash__(self): - return hash((self.instance_id, self.handle)) + return hash((self.instance_id, ctypes.addressof(self.handle.contents))) @property def instance_id(self): |
