fix series that don't have seasons' names
This commit is contained in:
parent
b4a68ae793
commit
c57dbf881d
@ -55,7 +55,8 @@ for i in range(last, last + smax):
|
||||
for j in seasons:
|
||||
print("Found: {}".format(info['title']))
|
||||
|
||||
if not vvvvidb.insert_serie((info['show_id'], info['title'], j['season_id'], j['name'])):
|
||||
print(j)
|
||||
if not vvvvidb.insert_serie((info['show_id'], info['title'], j['season_id'], j.get('name'))):
|
||||
print("Serie already present")
|
||||
continue
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user