mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 00:12:25 -04:00
fix a bug that caused media data not to be uploaded
This commit is contained in:
parent
5b71b720c2
commit
e8423f0874
1 changed files with 1 additions and 1 deletions
|
@ -469,7 +469,7 @@ create table meta (dirMod int, lastUsn int); insert into meta values (0, 0);
|
|||
|
||||
if csum:
|
||||
self.col.log("+media zip", fname)
|
||||
z.writestr(fname, str(c))
|
||||
z.write(fname, str(c))
|
||||
meta.append((normname, str(c)))
|
||||
sz += os.path.getsize(fname)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue