mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-04 14:44:26 +08:00
Merge branch 'develop'
This commit is contained in:
commit
b140c24050
2 changed files with 2 additions and 2 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.21.3
|
||||
1.21.4
|
||||
|
|
|
@ -21,7 +21,7 @@ module ActiveStorage
|
|||
|
||||
begin
|
||||
success = system(
|
||||
"#{libreoffice_path} --headless --invisible --convert-to png --outdir #{work_dir} #{input.path}"
|
||||
libreoffice_path, '--headless', '--invisible', '--convert-to', 'png', '--outdir', work_dir, input.path
|
||||
)
|
||||
|
||||
unless success && File.file?(preview_file)
|
||||
|
|
Loading…
Reference in a new issue