diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build-attributes | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build-attributes b/scripts/build-attributes index 3b06305..52a154c 100755 --- a/scripts/build-attributes +++ b/scripts/build-attributes @@ -144,7 +144,7 @@ class AttributeNumbers(dict): if word[2] in self: continue if word[2].startswith("(CKF_ARRAY_ATTRIBUTE|"): - word[2] = word[2].translate(None, "()").split("|")[1] + word[2] = word[2].replace("(", "").replace(")", "").split("|")[1] self[word[1]] = int(word[2], 16) |