We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TypeError
1 parent 37f393a commit 5efe09aCopy full SHA for 5efe09a
cdl/utils/misc.py
@@ -59,8 +59,9 @@ def go_to_error(text: str) -> None:
59
if match:
60
path = match.group(1)
61
line_number = match.group(2)
62
- if not osp.isfile(path):
63
- otherpath = osp.join(get_mod_source_dir(), path)
+ mod_src_dir = get_mod_source_dir()
+ if not osp.isfile(path) and mod_src_dir is not None:
64
+ otherpath = osp.join(mod_src_dir, path)
65
if not osp.isfile(otherpath):
66
# TODO: [P3] For frozen app, go to error is implemented only when the
67
# source code is available locally (development mode).
0 commit comments