We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fad17eb commit b1976f1Copy full SHA for b1976f1
1 file changed
src/c2pa/c2pa.py
@@ -1595,7 +1595,7 @@ def __init__(
1595
# then mark it so it won't double-free the
1596
# pointer the Context now owns.
1597
if signer is not None:
1598
- self._signer_callback_cb = (signer._callback_cb)
+ self._signer_callback_cb = signer._callback_cb
1599
signer._mark_consumed()
1600
self._has_signer = True
1601
except Exception:
@@ -1654,9 +1654,7 @@ def from_dict(
1654
Returns:
1655
A new Context instance.
1656
"""
1657
- return cls.from_json(
1658
- json.dumps(config), signer=signer
1659
- )
+ return cls.from_json(json.dumps(config), signer=signer)
1660
1661
@property
1662
def has_signer(self) -> bool:
0 commit comments