Skip to content

Commit 254c613

Browse files
committed
fix: Cleaning up
1 parent bddf069 commit 254c613

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/c2pa/c2pa.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,10 +1014,8 @@ def __init__(self,
10141014

10151015
# Keep mime_type string alive
10161016
try:
1017-
print("## Getting mimetype encoding")
10181017
self._mime_type_str = mime_type.encode('utf-8')
10191018
except UnicodeError as e:
1020-
print("## Failed encoding on mimetype")
10211019
raise C2paError.Encoding(
10221020
self._error_messages['encoding_error'].format(
10231021
str(e)))
@@ -1104,10 +1102,8 @@ def __init__(self,
11041102

11051103
with Stream(stream) as stream_obj:
11061104
if manifest_data is None:
1107-
print("## Preparing to call _lib.c2pa_reader_from_stream")
11081105
self._reader = _lib.c2pa_reader_from_stream(
11091106
self._format_str, stream_obj._stream)
1110-
print("## Called: _lib.c2pa_reader_from_stream")
11111107
else:
11121108
if not isinstance(manifest_data, bytes):
11131109
raise TypeError(self._error_messages['manifest_error'])

0 commit comments

Comments
 (0)