Skip to content

Commit 70f68fd

Browse files
authored
Fix typo (#280)
1 parent 378f4f3 commit 70f68fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/stealth_infotext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def add_stealth_pnginfo(params: ImageSaveParams):
1515
add_data(params, str(stealth_pnginfo_option), True)
1616

1717
def prepare_data(params, mode='Alpha', compressed=True):
18-
signature = f"stealth_{'png' if mode == 'alpha' else 'rgb'}{'info' if not compressed else 'comp'}"
18+
signature = f"stealth_{'png' if mode == 'Alpha' else 'rgb'}{'info' if not compressed else 'comp'}"
1919
binary_signature = ''.join(format(byte, '08b') for byte in signature.encode('utf-8'))
2020
param = params.encode('utf-8') if not compressed else gzip.compress(bytes(params, 'utf-8'))
2121
binary_param = ''.join(format(byte, '08b') for byte in param)

0 commit comments

Comments
 (0)