From 1bf9acae5462fc030d3f7674fd44de0244d52a75 Mon Sep 17 00:00:00 2001 From: Labrys of Knossos Date: Wed, 14 Dec 2022 03:09:44 -0500 Subject: [PATCH] Fix incompatible types in assignment --- core/auto_process/comics.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core/auto_process/comics.py b/core/auto_process/comics.py index 1743c698..872f17a5 100644 --- a/core/auto_process/comics.py +++ b/core/auto_process/comics.py @@ -113,10 +113,7 @@ def process( f'{r.status_code}', ) - result = r.text - if not type(result) == list: - result = result.split('\n') - for line in result: + for line in r.text.split('\n'): if line: logger.postprocess(line, section) if 'Post Processing SUCCESSFUL' in line: