From 9cc2549a7404f19e9c9bc77a94cfdef5d537e3eb Mon Sep 17 00:00:00 2001 From: evilhero Date: Tue, 26 Feb 2019 14:59:50 -0500 Subject: [PATCH] FIX: fix for invalid DDL links causing crash due to inability to parse properly --- mylar/getcomics.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mylar/getcomics.py b/mylar/getcomics.py index f85378da..b4bf5b71 100644 --- a/mylar/getcomics.py +++ b/mylar/getcomics.py @@ -193,9 +193,10 @@ class GC(object): site = lk['title'] break #get the first link just to test + if link is None: logger.warn('Unable to retrieve any valid immediate download links. They might not exist.') - return + return {'success': False} links = []