mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-28 03:46:06 -05:00 
			
		
		
		
	Fix creation of user arg
json.loads is picky in that is expects true json, not yaml from ansible
This commit is contained in:
		| @@ -183,8 +183,8 @@ | |||||||
|       line: "PAPERLESS_FILENAME_FORMAT={{ paperlessng_filename_format }}" |       line: "PAPERLESS_FILENAME_FORMAT={{ paperlessng_filename_format }}" | ||||||
|     - regexp: "^#?PAPERLESS_OCR_LANGUAGE=" |     - regexp: "^#?PAPERLESS_OCR_LANGUAGE=" | ||||||
|       line: "PAPERLESS_OCR_LANGUAGE={{ paperlessng_ocr_languages | join('+') }}" |       line: "PAPERLESS_OCR_LANGUAGE={{ paperlessng_ocr_languages | join('+') }}" | ||||||
|     - regexp: "^#PAPERLESS_OCR_USER_ARG=" |     - regexp: "^#PAPERLESS_OCR_USER_ARGS=" | ||||||
|       line: "PAPERLESS_OCR_USER_ARG={{ paperlessng_ocrmypdf_args | combine({'jbig2_lossy': true} if paperlessng_big2enc_lossy else {}) }}" |       line: "PAPERLESS_OCR_USER_ARGS={{ paperlessng_ocrmypdf_args | combine({'jbig2_lossy': true} if paperlessng_big2enc_lossy else {}) | to_json }}" | ||||||
|     - regexp: "^#?PAPERLESS_TIME_ZONE=" |     - regexp: "^#?PAPERLESS_TIME_ZONE=" | ||||||
|       line: "PAPERLESS_TIME_ZONE={{ paperlessng_time_zone }}" |       line: "PAPERLESS_TIME_ZONE={{ paperlessng_time_zone }}" | ||||||
|   no_log: yes |   no_log: yes | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Fabian Koller
					Fabian Koller