Skip to content

Commit f5b0fb6

Browse files
author
Kazuki Suzuki
authored
Update pyneofile.py
1 parent 95e1c3f commit f5b0fb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyneofile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def _load_formatspecs_from_ini(paths=None, prefer_section=None):
157157
if paths:
158158
if isinstance(paths, (list, tuple)): cands.extend(paths)
159159
else: cands.append(paths)
160-
for env in ('PYNEOFILE_INI','PYARCHIVE_INI'):
160+
for env in ('PYNEOFILE_INI'):
161161
p = os.environ.get(env); cands.append(p) if p else None
162162
cands.extend(['neofile.ini'])
163163
picked = next((p for p in cands if p and os.path.isfile(p)), None)

0 commit comments

Comments
 (0)