| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent cc34077 commit 4d851a6
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -180,7 +180,7 @@ def test_refresh(self): | |||
| 180 | 180 | ||
| 181 | 181 | # test a good path refresh | |
| 182 | 182 | which_cmd = "where" if is_win else "which" | |
| 183 | - path = os.popen("{0} git".format(which_cmd)).read().strip() | ||
| 183 | + path = os.popen("{0} git".format(which_cmd)).read().strip().split('\n')[0] | ||
| 184 | 184 | refresh(path) | |
| 185 | 185 | ||
| 186 | 186 | def test_options_are_passed_to_git(self): | |
| Back | FazBrowse Home | New Git URL |
0 commit comments