Skip to content

Commit 6a93ebf

Browse files
committed
Explicitly extract path_parts
1 parent a16f84b commit 6a93ebf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/git_autograder/remote.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ def is_for_repo(self, owner: str, repo_name: str) -> bool:
4040
else:
4141
return False
4242

43-
owner_part, repo_part = path_parts
43+
owner_part = path_parts[0]
44+
repo_part = path_parts[1]
4445
if repo_part.endswith(".git"):
4546
repo_part = repo_part[:-4]
4647

0 commit comments

Comments
 (0)