Fix gimp file write

This commit is contained in:
Emilio Pinna 2019-01-22 20:13:34 +00:00
parent 9180d550e7
commit 69b8eb1056

View File

@ -38,7 +38,6 @@ functions:
r.urlretrieve(e["URL"], e["LFILE"])' r.urlretrieve(e["URL"], e["LFILE"])'
file-write: file-write:
- code: | - code: |
LFILE=file_to_write
gimp -idf --batch-interpreter=python-fu-eval -b 'open("file_to_write", "wb").write("DATA")' gimp -idf --batch-interpreter=python-fu-eval -b 'open("file_to_write", "wb").write("DATA")'
file-read: file-read:
- code: gimp -idf --batch-interpreter=python-fu-eval -b 'print(open("file_to_read").read())' - code: gimp -idf --batch-interpreter=python-fu-eval -b 'print(open("file_to_read").read())'