FIX: fix for invalid DDL links causing crash due to inability to parse properly

This commit is contained in:
evilhero 2019-02-26 14:59:50 -05:00
parent 9547dccc27
commit 9cc2549a74
1 changed files with 2 additions and 1 deletions

View File

@ -193,9 +193,10 @@ class GC(object):
site = lk['title'] site = lk['title']
break #get the first link just to test break #get the first link just to test
if link is None: if link is None:
logger.warn('Unable to retrieve any valid immediate download links. They might not exist.') logger.warn('Unable to retrieve any valid immediate download links. They might not exist.')
return return {'success': False}
links = [] links = []