stream read seemed to break things. Commented it out.
This commit is contained in:
9
main.py
9
main.py
@@ -61,14 +61,11 @@ def download():
|
|||||||
book['title'] = each.manga.name
|
book['title'] = each.manga.name
|
||||||
# book['command'] = 'nothing'
|
# book['command'] = 'nothing'
|
||||||
|
|
||||||
# os.system(execute)
|
|
||||||
# exec_command = subprocess.Popen(execute, stdout=subprocess.PIPE)
|
|
||||||
# book['output'] = exec_command.communicate()
|
|
||||||
exec_command.communicate()
|
exec_command.communicate()
|
||||||
output = exec_command.stdout.readline()
|
# output = exec_command.stdout.readline()
|
||||||
book['command'] = exec_command.args
|
book['command'] = exec_command.args
|
||||||
if str(output) in 'No new chapters found':
|
# if str(output) in 'No new chapters found':
|
||||||
notupdated.append(book['title'] + 'not updated')
|
# notupdated.append(book['title'] + 'not updated')
|
||||||
updated.append(book)
|
updated.append(book)
|
||||||
|
|
||||||
missing = check(passin=1)
|
missing = check(passin=1)
|
||||||
|
|||||||
Reference in New Issue
Block a user