| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -272,8 +272,8 @@ def init_bare(self, path, mkdir=True, **kwargs): | |||
| 272 | 272 | ``GitPython.Repo`` (the newly created repo) | |
| 273 | 273 | """ | |
| 274 | 274 | ||
| 275 | - if mkdir and not os.path.exists(gitpath): | ||
| 276 | - os.makedirs(gitpath, 0755) | ||
| 275 | + if mkdir and not os.path.exists(path): | ||
| 276 | + os.makedirs(path, 0755) | ||
| 277 | 277 | ||
| 278 | 278 | git = Git(path) | |
| 279 | 279 | output = git.init(**kwargs) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments