Nestor

Mon petit bot Discord
Log | Files | Refs

commit da1702af395b9752055c57baa6162fd84340e960
parent 1948c07f97b9e11d7e152f41bb328f423f26f701
Author: Doshirae <doshirae@doshirae.fr>
Date:   Wed, 10 Oct 2018 12:34:54 +0200

Latex command : removed file deletion

Diffstat:
commandes.rb | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/commandes.rb b/commandes.rb @@ -105,11 +105,11 @@ $$) + input + %q($$ end def download_file(file) - system(%Q(wget -O latex.png "http://rtex.probablyaweb.site/api/v2/#{file}")) + %x(wget -O latex.png "http://rtex.probablyaweb.site/api/v2/#{file}") convert_file("latex.png") end def convert_file(file) - system("convert latex.png -channel rgb -negate +channel output.png") + %x("convert latex.png -channel rgb -negate +channel output.png") end