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 .idea
\ No newline at end of file __pycache__
\ No newline at end of file
from utils import GitRepo from git_lfs_utils.git_lfs_utils.utils import GitRepo
\ No newline at end of file
...@@ -11,7 +11,7 @@ def update_package_list(): ...@@ -11,7 +11,7 @@ def update_package_list():
class GitRepo(git.Repo): class GitRepo(git.Repo):
def __init__(self, repository_path=None, *args, **kwargs): 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() starting_path = os.getcwd()
path = starting_path path = starting_path
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment