| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent ebf4656 commit 553500a
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -283,7 +283,8 @@ def __init__(self, repo, a_rawpath, b_rawpath, a_blob_id, b_blob_id, a_mode, | |||
| 283 | 283 | if repo and a_rawpath: | |
| 284 | 284 | for submodule in repo.submodules: | |
| 285 | 285 | if submodule.path == a_rawpath.decode("utf-8"): | |
| 286 | - repo = submodule.module() | ||
| 286 | + if submodule.module_exists(): | ||
| 287 | + repo = submodule.module() | ||
| 287 | 288 | break | |
| 288 | 289 | ||
| 289 | 290 | if a_blob_id is None or a_blob_id == self.NULL_HEX_SHA: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments