.nfo文件不存在时不执行-N操作
This commit is contained in:
2
core.py
2
core.py
@@ -655,6 +655,8 @@ def core_main_no_net_op(movie_path, number):
|
|||||||
nfo = full_nfo.read_text(encoding='utf-8')
|
nfo = full_nfo.read_text(encoding='utf-8')
|
||||||
if nfo.find(r'<tag>无码</tag>'):
|
if nfo.find(r'<tag>无码</tag>'):
|
||||||
uncensored = 1
|
uncensored = 1
|
||||||
|
else:
|
||||||
|
return
|
||||||
|
|
||||||
if not all(os.path.isfile(f) for f in (full_fanart_path, full_thumb_path)):
|
if not all(os.path.isfile(f) for f in (full_fanart_path, full_thumb_path)):
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user