mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-19 18:31:24 +02:00
fix bug #345
This commit is contained in:
parent
a84e2c5714
commit
c3e9fff491
@ -89,7 +89,8 @@ class Doujinshi(object):
|
|||||||
if options.is_cbz:
|
if options.is_cbz:
|
||||||
ret_cbz = os.path.exists(f'{base_path}.cbz') or os.path.exists(f'{base_path}/{self.filename}.cbz')
|
ret_cbz = os.path.exists(f'{base_path}.cbz') or os.path.exists(f'{base_path}/{self.filename}.cbz')
|
||||||
|
|
||||||
if all(filter(lambda s: s is not None, [ret_cbz, ret_pdf])):
|
ret = list(filter(lambda s: s is not None, [ret_cbz, ret_pdf]))
|
||||||
|
if ret and all(ret):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# doujinshi directory doesn't exist, re-download
|
# doujinshi directory doesn't exist, re-download
|
||||||
|
Loading…
x
Reference in New Issue
Block a user