feat: MacOSで実行する時のコマンド指定が微妙に違うので、メモとしてコメントしておく

This commit is contained in:
shimoda.m@nds-tyo.co.jp 2023-09-28 15:51:19 +09:00
parent ce9d8229d5
commit 6aedfa1643

View File

@ -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('文字コード変換終了')