We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe2cb91 commit 9bbe8eeCopy full SHA for 9bbe8ee
1 file changed
magic/__init__.py
@@ -420,7 +420,8 @@ def magic_getparam(cookie, param):
420
raise NotImplementedError("magic_getparam not implemented")
421
val = c_size_t()
422
with LOCK:
423
- return _magic_getparam(cookie, param, byref(val)).value
+ _magic_getparam(cookie, param, byref(val))
424
+ return val.value
425
426
427
_has_version = False
0 commit comments