From f77694b338516fbe25ebe7927e059a6205f0f572 Mon Sep 17 00:00:00 2001 From: TsXor <74352334+TsXor@users.noreply.github.com> Date: Sat, 3 Dec 2022 14:55:31 +0800 Subject: [PATCH] fix(action_descriptor): fix a little typo Signed-off-by: 23Xor --- photoshop/api/action_descriptor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/photoshop/api/action_descriptor.py b/photoshop/api/action_descriptor.py index 8771a1e1..fe1862bb 100644 --- a/photoshop/api/action_descriptor.py +++ b/photoshop/api/action_descriptor.py @@ -57,7 +57,7 @@ def __eq__(self, other): def erase(self, key: int): """Erases a key from the descriptor.""" - self.erase(key) + self.app.erase(key) def fromStream(self, value: str): """Creates a descriptor from a stream of bytes; for reading from disk.""" @@ -171,7 +171,7 @@ def putData(self, key: int, value: str): except BaseException: pass - def putDouble(self, key: int, value: int): + def putDouble(self, key: int, value: float): """Sets the value for a key whose type is double.""" self.app.putDouble(key, value)