This commit is contained in:
Kovid Goyal 2015-06-16 08:15:24 +05:30
parent 57f41246e7
commit 8405be4ebb

View File

@ -57,7 +57,6 @@ def create_file_copy(ctx, rd, prefix, library_id, book_id, ext, mtime, copy_func
except EnvironmentError: except EnvironmentError:
pass pass
ans = lopen(fname, 'w+b') ans = lopen(fname, 'w+b')
do_copy = True
if do_copy: if do_copy:
copy_func(ans) copy_func(ans)
ans.seek(0) ans.seek(0)