diff --git a/ecs/jskult-batch-daily/src/batch/ultmarc/ultmarc_process.py b/ecs/jskult-batch-daily/src/batch/ultmarc/ultmarc_process.py index 09733854..4180ee05 100644 --- a/ecs/jskult-batch-daily/src/batch/ultmarc/ultmarc_process.py +++ b/ecs/jskult-batch-daily/src/batch/ultmarc/ultmarc_process.py @@ -74,6 +74,7 @@ def _convert_character_hex(dat_file_path: str, config_file_path: str) -> str: for src_hex, dst_hex in hex_convert_config_dict.items(): # sedコマンドで置き換え + # MacOSで実行する場合のコマンド # subprocess.call([f"export LANG=C && sed -i '' -e \"s/{src_hex}/{dst_hex}/g\" {dat_file_path}"], shell=True) subprocess.call([f"sed -e \"s/{src_hex}/{dst_hex}/g\" {dat_file_path}"], shell=True) logger.debug('文字コード変換終了')