From 38f5e2b0e699d5087762a16050daa483ad309ff1 Mon Sep 17 00:00:00 2001 From: Ian Burgwin Date: Mon, 8 Mar 2021 18:08:32 -0800 Subject: [PATCH] custominstall: remove seek workaround for CDN contents (fixed in pyctr 0.4.6) --- custominstall.py | 1 - 1 file changed, 1 deletion(-) diff --git a/custominstall.py b/custominstall.py index 75e441a..b18a7f4 100644 --- a/custominstall.py +++ b/custominstall.py @@ -467,7 +467,6 @@ def start(self): content_out_path = join(temp_content_root, content_filename) self.log(f'Writing {content_enc_path}...') with cia.open_raw_section(co.cindex) as s, open(content_out_path, 'wb') as o: - s.seek(0) # a fix that is hopefully temporary and not permanent result_hash = self.copy_with_progress(s, o, co.size, content_enc_path) if result_hash != co.hash: self.log(f'WARNING: Hash does not match for {content_enc_path}!')