| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,7 +15,8 @@ | |||
| 15 | 15 | #{ Initialization | |
| 16 | 16 | def _init_externals(): | |
| 17 | 17 | """Initialize external projects by putting them into the path""" | |
| 18 | - sys.path.append(os.path.join(os.path.dirname(__file__), 'ext', 'gitdb')) | ||
| 18 | + if __version__ == 'git': | ||
| 19 | + sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'ext', 'gitdb')) | ||
| 19 | 20 | ||
| 20 | 21 | try: | |
| 21 | 22 | import gitdb | |
| Back | FazBrowse Home | New Git URL |
0 commit comments