mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-30 10:05:04 +01:00
Fix #780804 (not found gdbm on Windows in 0.8.0 and Japanese)
This commit is contained in:
parent
534af919a5
commit
bd2aeff04d
1 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@
|
|||
import os, cPickle, re, anydbm, shutil, marshal, zipfile, glob
|
||||
from zlib import compress
|
||||
|
||||
from setup import Command, basenames, __appname__
|
||||
from setup import Command, basenames, __appname__, iswindows
|
||||
|
||||
def get_opts_from_parser(parser):
|
||||
def do_opt(opt):
|
||||
|
|
@ -128,7 +128,7 @@ def run_kakasi(self, opts):
|
|||
if not os.path.exists(base):
|
||||
os.makedirs(base)
|
||||
|
||||
if self.newer(dest, src):
|
||||
if self.newer(dest, src) or iswindows:
|
||||
self.info('\tGenerating Kanwadict')
|
||||
|
||||
for line in open(src, "r"):
|
||||
|
|
|
|||
Loading…
Reference in a new issue