txt.js/txt.py path has changed

This commit is contained in:
j 2015-03-08 01:38:57 +05:30
commit 6d3d0bbc43
2 changed files with 4 additions and 4 deletions

View file

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