From c57dbf881d8583dab376c31299a760783144c65b Mon Sep 17 00:00:00 2001 From: thezero Date: Mon, 22 Oct 2018 19:54:10 +0200 Subject: [PATCH] fix series that don't have seasons' names --- vvvvget.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vvvvget.py b/vvvvget.py index 5ebddfe..e857ea3 100644 --- a/vvvvget.py +++ b/vvvvget.py @@ -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