Skip to content

Commit

Permalink
Merge pull request #1120 from OCR-D/fix-1119
Browse files Browse the repository at this point in the history
remove logfile from bashlib
  • Loading branch information
kba authored Oct 18, 2023
2 parents 00cb968 + f6a8aef commit 46b601b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ocrd/ocrd/lib.bash
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ ocrd__parse_argv () {
-I|--input-file-grp) ocrd__argv[input_file_grp]=$2 ; shift ;;
-w|--working-dir) ocrd__argv[working_dir]=$(realpath "$2") ; shift ;;
-m|--mets) ocrd__argv[mets_file]=$(realpath "$2") ; shift ;;
--log-filename) ocrd__argv[log_filename]="$2" ; shift ;;
--mets-server-url) ocrd_argv[mets_server_url]="$2" ; shift ;;
--overwrite) ocrd__argv[overwrite]=true ;;
--profile) ocrd__argv[profile]=true ;;
Expand All @@ -169,7 +168,7 @@ ocrd__parse_argv () {
if ! [ -v ocrd__worker_queue ]; then
ocrd__raise "For the Processing Worker --queue is required"
fi
ocrd network processing-worker $OCRD_TOOL_NAME --queue "${ocrd__worker_queue}" --database "${ocrd__worker_database}" --log-filename "${ocrd__argv[log_filename]}"
ocrd network processing-worker $OCRD_TOOL_NAME --queue "${ocrd__worker_queue}" --database "${ocrd__worker_database}"
elif [ ${ocrd__subcommand} = "server" ]; then
if ! [ -v ocrd__worker_address ]; then
ocrd__raise "For the Processor Server --address is required"
Expand Down

0 comments on commit 46b601b

Please sign in to comment.