Skip to content
Snippets Groups Projects
Commit 3428d014 authored by Ronald Jäpel's avatar Ronald Jäpel
Browse files

Fix GitRepo initialization

parent 561c8192
No related branches found
No related tags found
No related merge requests found
.idea
\ No newline at end of file
.idea
__pycache__
\ No newline at end of file
from utils import GitRepo
\ No newline at end of file
from git_lfs_utils.git_lfs_utils.utils import GitRepo
......@@ -11,7 +11,7 @@ def update_package_list():
class GitRepo(git.Repo):
def __init__(self, repository_path=None, *args, **kwargs):
if repository_path is None:
if repository_path is None or repository_path == ".":
starting_path = os.getcwd()
path = starting_path
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment