Skip to content

Commit

Permalink
Merge pull request #206 from shkm/handle-pipes-via-process-substitution
Browse files Browse the repository at this point in the history
Handle pipes via process substitution
  • Loading branch information
jelmer authored Nov 28, 2024
2 parents 8be5462 + 266b68e commit 505f459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/configobj/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@ def _load(self, infile, configspec):

if isinstance(infile, (str, )):
self.filename = infile
if os.path.isfile(infile):
if os.path.isfile(infile) or os.path.islink(infile):
with open(infile, 'rb') as h:
content = h.readlines() or []
elif self.file_error:
Expand Down

0 comments on commit 505f459

Please sign in to comment.