Skip to content

Commit

Permalink
open_write_raw() doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenxxiu committed Jan 4, 2020
1 parent 4994290 commit 96712fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/cfv/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,8 @@ def make_std_filename(filename):
def make_chksumfile_create(self, filename):
if config.announceurl is None:
raise EnvironmentError('announce url required')
file = fileutil.open_write_raw(filename, config)
config.encoding = 'raw'
file = fileutil.open_write(filename, config)
self.sh = hash.sha_new()
self.files = []
self.pieces = []
Expand Down

0 comments on commit 96712fc

Please sign in to comment.