Skip to content

Commit 9d7a288

Browse files
committed
Support for loading config from "<(/usr/bin/envsubst < template)"
1 parent 45fbf1b commit 9d7a288

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/configobj/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,7 @@ def _load(self, infile, configspec):
12121212

12131213
if isinstance(infile, six.string_types):
12141214
self.filename = infile
1215-
if os.path.isfile(infile):
1215+
if os.path.exists(infile):
12161216
with open(infile, 'rb') as h:
12171217
content = h.readlines() or []
12181218
elif self.file_error:

0 commit comments

Comments
 (0)