avbroot/util.py: Fix f-string with no placeholders

Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
This commit is contained in:
Andrew Gunnerson
2023-02-13 22:23:44 -05:00
parent 81c20b1467
commit dc1ec187a5
+1 -1
View File
@@ -109,7 +109,7 @@ def decompress_n(decompressor, f_in, f_out, size, buf_size=16384, hasher=None):
if size:
raise IOError(f'Unexpected EOF; expected {size} more bytes')
elif not decompressor.eof:
raise IOError(f'Did not reach end of compressed input')
raise IOError('Did not reach end of compressed input')
def zero_n(f_out, size, buf_size=16384):