fix chmod output for pdf
This commit is contained in:
parent
1b130e876b
commit
dc9445bc9f
1 changed files with 1 additions and 0 deletions
|
@ -225,6 +225,7 @@ def fetch_pdf(link_dir, link, timeout=TIMEOUT, user_data_dir=CHROME_USER_DATA_DI
|
|||
if result.returncode:
|
||||
print(' ', (result.stderr or result.stdout).decode())
|
||||
raise Exception('Failed to print PDF')
|
||||
chmod_file('output.pdf', cwd=link_dir)
|
||||
output = 'output.pdf'
|
||||
except Exception as e:
|
||||
end()
|
||||
|
|
Loading…
Reference in a new issue