javdb.py:check empty str
This commit is contained in:
@@ -302,7 +302,7 @@ def main(number):
|
|||||||
|
|
||||||
}
|
}
|
||||||
userrating = getUserRating(lx)
|
userrating = getUserRating(lx)
|
||||||
if userrating is not None:
|
if userrating is not None and len(userrating):
|
||||||
dic['userrating'] = userrating
|
dic['userrating'] = userrating
|
||||||
if not dic['actor'] and re.match(r'FC2-[\d]+', number, re.A):
|
if not dic['actor'] and re.match(r'FC2-[\d]+', number, re.A):
|
||||||
dic['actor'].append('素人')
|
dic['actor'].append('素人')
|
||||||
|
|||||||
Reference in New Issue
Block a user