mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Exclude the markdown code from check
This commit is contained in:
parent
f6a7ef58f7
commit
dc80d92b1d
@ -34,6 +34,8 @@ class Check(Command):
|
|||||||
for x in os.walk(self.j(self.SRC, 'calibre')):
|
for x in os.walk(self.j(self.SRC, 'calibre')):
|
||||||
for f in x[-1]:
|
for f in x[-1]:
|
||||||
y = self.j(x[0], f)
|
y = self.j(x[0], f)
|
||||||
|
if x[0].endswith('calibre/ebooks/markdown'):
|
||||||
|
continue
|
||||||
mtime = os.stat(y).st_mtime
|
mtime = os.stat(y).st_mtime
|
||||||
if cache.get(y, 0) == mtime:
|
if cache.get(y, 0) == mtime:
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user