| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9541d6b commit bfbd5ec
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -275,7 +275,7 @@ def __init__(self, repo, a_rawpath, b_rawpath, a_blob_id, b_blob_id, a_mode, | |||
| 275 | 275 | # we need to overwrite "repo" to the corresponding submodule's repo instead | |
| 276 | 276 | if repo and a_rawpath: | |
| 277 | 277 | for submodule in repo.submodules: | |
| 278 | - if submodule.path == a_rawpath.decode("utf-8"): | ||
| 278 | + if submodule.path == a_rawpath.decode(defenc, 'replace'): | ||
| 279 | 279 | if submodule.module_exists(): | |
| 280 | 280 | repo = submodule.module() | |
| 281 | 281 | break | |
| Back | FazBrowse Home | New Git URL |
0 commit comments