Skip to content

Commit

Permalink
fix(action_descriptor): fix a little typo
Browse files Browse the repository at this point in the history
Signed-off-by: TsXor <[email protected]>
  • Loading branch information
TsXor authored Dec 3, 2022
1 parent 7d1b13a commit 1a6ffd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions photoshop/api/action_descriptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down Expand Up @@ -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: double):
"""Sets the value for a key whose type is double."""
self.app.putDouble(key, value)

Expand Down

0 comments on commit 1a6ffd6

Please sign in to comment.