Skip to content

Commit 7661396

Browse files
author
Kazuki Suzuki Przyborowski
committed
Update pycatfile.py
1 parent 648c0a0 commit 7661396

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pycatfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,8 +404,8 @@ def _is_printable(ch):
404404
__use_json_name__ = "catfile.json"
405405
if(__use_ini_file__ and __use_json_file__):
406406
__use_json_file__ = False
407-
if('PYARCHIVEFILE_CONFIG_FILE' in os.environ and os.path.exists(os.environ['PYARCHIVEFILE_CONFIG_FILE']) and __use_env_file__):
408-
scriptconf = os.environ['PYARCHIVEFILE_CONFIG_FILE']
407+
if('PYCATFILE_CONFIG_FILE' in os.environ and os.path.exists(os.environ['PYCATFILE_CONFIG_FILE']) and __use_env_file__):
408+
scriptconf = os.environ['PYCATFILE_CONFIG_FILE']
409409
else:
410410
prescriptpath = get_importing_script_path()
411411
if(prescriptpath is not None):

0 commit comments

Comments
 (0)