From aa1804a3b5a1a3514d2c0f0fe5973ab22a7507df Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Wed, 27 Jul 2016 21:41:13 -0400 Subject: small typo in data buffer class --- python/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/__init__.py b/python/__init__.py index da8abd02..b6fa9294 100644 --- a/python/__init__.py +++ b/python/__init__.py @@ -98,7 +98,7 @@ class DataBuffer: if len(value) != 1: raise ValueError, "expected single byte for assignment" value = str(value) - buf = ctypes.create_string_buffer(alue) + buf = ctypes.create_string_buffer(value) ctypes.memmove(core.BNGetDataBufferContentsAt(self.handle, int(len(self) + i)), buf, 1) else: raise IndexError, "index out of range" -- cgit v1.3.1