From 228229a8067fd43c2b01940cff80248629f28d56 Mon Sep 17 00:00:00 2001 From: PeeachPie Date: Sat, 8 Nov 2025 20:53:50 +0300 Subject: [PATCH] unnecessary github_user check removed --- src/codeplag/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codeplag/utils.py b/src/codeplag/utils.py index 4226937..02a45e0 100644 --- a/src/codeplag/utils.py +++ b/src/codeplag/utils.py @@ -36,7 +36,7 @@ def __init__(self: Self, parsed_args: dict[str, Any]) -> None: else: self.github_files: list[str] = parsed_args.pop("github_files", []) self.github_project_folders: list[str] = parsed_args.pop("github_project_folders", []) - self.github_user: str = parsed_args.pop("github_user", "") or "" + self.github_user: str = parsed_args.pop("github_user", "") ignore_threshold: bool = parsed_args.pop("ignore_threshold") if ignore_threshold: comparator_class = IgnoreThresholdWorksComparator