stream read seemed to break things. Commented it out.

This commit is contained in:
2020-06-19 10:44:21 -04:00
parent d59c4d1755
commit 2aeb04b6f6

View File

@@ -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)