Skip to content

Commit

Permalink
custominstall: remove seek workaround for CDN contents (fixed in pyct…
Browse files Browse the repository at this point in the history
…r 0.4.6)
  • Loading branch information
ihaveamac committed Mar 9, 2021
1 parent f48e177 commit 38f5e2b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion custominstall.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}!')
Expand Down

0 comments on commit 38f5e2b

Please sign in to comment.