From 2aeb04b6f6b42d66edafb7ba54dc8e5a266f7c7e Mon Sep 17 00:00:00 2001 From: Dan Dembinski Date: Fri, 19 Jun 2020 10:44:21 -0400 Subject: [PATCH] stream read seemed to break things. Commented it out. --- main.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/main.py b/main.py index f6dc1eb..33526b8 100644 --- a/main.py +++ b/main.py @@ -61,14 +61,11 @@ def download(): book['title'] = each.manga.name # book['command'] = 'nothing' - # os.system(execute) - # exec_command = subprocess.Popen(execute, stdout=subprocess.PIPE) - # book['output'] = exec_command.communicate() exec_command.communicate() - output = exec_command.stdout.readline() + # output = exec_command.stdout.readline() book['command'] = exec_command.args - if str(output) in 'No new chapters found': - notupdated.append(book['title'] + 'not updated') + # if str(output) in 'No new chapters found': + # notupdated.append(book['title'] + 'not updated') updated.append(book) missing = check(passin=1)