Movie_Data_Capture icon indicating copy to clipboard operation
Movie_Data_Capture copied to clipboard

[-] int() argument must be a string, a bytes-like object or a number, not 'NoneType'

Open oOtroyOo opened this issue 2 years ago • 1 comments

core.py :729 uncensored = int(unce) if isinstance(unce, bool) else int(is_uncensored(number))

[-] int() argument must be a string, a bytes-like object or a number, not 'NoneType'

似乎是可以这样改: uncensored = int(unce) if isinstance(unce, bool) else is_uncensored(number)

oOtroyOo avatar Apr 21 '22 16:04 oOtroyOo

源代码中有大量的if uncensored == 1:判断,所以这里还是只能赋值数字,我改一下吧。

lededev avatar Apr 21 '22 18:04 lededev