diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2016-07-27 21:41:13 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2016-07-27 21:41:13 -0400 |
| commit | aa1804a3b5a1a3514d2c0f0fe5973ab22a7507df (patch) | |
| tree | 06ddb2c174cc2aaefeb889f2b1d0c7bc91bfa96f /python | |
| parent | 9a40763268a7859288875e1ab59a7cf7592529f6 (diff) | |
small typo in data buffer class
Diffstat (limited to 'python')
| -rw-r--r-- | python/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
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" |
