Skip to content

Commit 264c51f

Browse files
gongqingkuigongqingkui
authored andcommitted
fix issue 261
1 parent e4bbb8a commit 264c51f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/dotenv/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def make_regex(string, extra_flags=0):
5555
("error", bool),
5656
],
5757
)
58-
except ImportError:
58+
except Exception:
5959
from collections import namedtuple
6060
Original = namedtuple( # type: ignore
6161
"Original",

0 commit comments

Comments
 (0)