txt.js/txt.py path has changed
This commit is contained in:
parent
76fe88ffcc
commit
6d3d0bbc43
2 changed files with 4 additions and 4 deletions
|
|
@ -9,7 +9,7 @@ import subprocess
|
|||
|
||||
def cover(path):
|
||||
image = tempfile.mkstemp('.jpg')[1]
|
||||
cmd = ['python3', 'static/txt.js/txt.py', '-i', path, '-o', image]
|
||||
cmd = ['python3', '../reader/txt.js/txt.py', '-i', path, '-o', image]
|
||||
p = subprocess.Popen(cmd, close_fds=True)
|
||||
p.wait()
|
||||
with open(image, 'rb') as fd:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue