File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -260,18 +260,19 @@ def get_default_threads():
260260__use_alt_format__ = False
261261__use_env_file__ = True
262262__use_ini_file__ = True
263+ __use_ini_name__ "catfile.ini"
263264if ('PYCATFILE_CONFIG_FILE' in os .environ and os .path .exists (os .environ ['PYCATFILE_CONFIG_FILE' ]) and __use_env_file__ ):
264265 scriptconf = os .environ ['PYCATFILE_CONFIG_FILE' ]
265266else :
266267 prescriptpath = get_importing_script_path ()
267268 if (prescriptpath is not None ):
268- scriptconf = os .path .join (os .path .dirname (prescriptpath ), "catfile.ini" )
269+ scriptconf = os .path .join (os .path .dirname (prescriptpath ), __use_ini_name__ )
269270 else :
270271 scriptconf = ""
271272if os .path .exists (scriptconf ):
272273 __config_file__ = scriptconf
273274else :
274- __config_file__ = os .path .join (os .path .dirname (os .path .realpath (__file__ )), "catfile.ini" )
275+ __config_file__ = os .path .join (os .path .dirname (os .path .realpath (__file__ )), __use_ini_name__ )
275276if (not havepysftp ):
276277 __use_pysftp__ = False
277278__use_http_lib__ = "httpx"
You can’t perform that action at this time.
0 commit comments