Skip to content

Commit 1a6ffd6

Browse files
authored
fix(action_descriptor): fix a little typo
Signed-off-by: TsXor <[email protected]>
1 parent 7d1b13a commit 1a6ffd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

photoshop/api/action_descriptor.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def __eq__(self, other):
5757

5858
def erase(self, key: int):
5959
"""Erases a key from the descriptor."""
60-
self.erase(key)
60+
self.app.erase(key)
6161

6262
def fromStream(self, value: str):
6363
"""Creates a descriptor from a stream of bytes; for reading from disk."""
@@ -171,7 +171,7 @@ def putData(self, key: int, value: str):
171171
except BaseException:
172172
pass
173173

174-
def putDouble(self, key: int, value: int):
174+
def putDouble(self, key: int, value: double):
175175
"""Sets the value for a key whose type is double."""
176176
self.app.putDouble(key, value)
177177

0 commit comments

Comments
 (0)