Corrected ocr

This commit is contained in:
Alexandre
2022-03-22 19:18:33 +01:00
committed by GitHub
parent a207015a13
commit 77aa7947ac

View File

@@ -22,7 +22,7 @@ if [ -n "$OCRLANG" ]; then
sed -i "${lineStart},${lineEnd}d" "$CONFIGLOCATION"/papermerge.conf.py
bashio::log.info "Writing new configuration"
echo "OCRLANG = {" >> "$CONFIGLOCATION"/papermerge.conf.py
echo "OCR_LANGUAGES = {" >> "$CONFIGLOCATION"/papermerge.conf.py
languages=$(echo "$OCRLANG" | tr "," "\n")