if recent_lst is empty
check if recently added is null or not. If null then exit, nothing to notify.
This commit is contained in:
parent
51801177c6
commit
faa6b6ebae
@ -197,7 +197,10 @@ def get_rating_keys(TODAY, LASTDATE):
|
||||
break
|
||||
|
||||
start += count
|
||||
if recent_lst:
|
||||
return recent_lst
|
||||
sys.stderr.write("Recently Added list: {0}.".format(recent_lst))
|
||||
exit()
|
||||
|
||||
|
||||
def build_html(rating_key, height, width, pic_type):
|
||||
|
Loading…
Reference in New Issue
Block a user