From 1bcdc0839fc5c48d04c0f007650d0ec1b0ca24a1 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Mon, 2 Dec 2019 11:39:23 +0100 Subject: [PATCH] Correct tag in MR's title --- commands/merge_requests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/merge_requests.py b/commands/merge_requests.py index 651521b..54611c2 100644 --- a/commands/merge_requests.py +++ b/commands/merge_requests.py @@ -36,7 +36,7 @@ class MergeRequests(BaseGitCommand): post_mr( source_branch=submission.branch, target_branch="master", - title=f"[{submission.branch}] {submission.login}", + title=f"[{submission.homework}{'-opravne' if submission.correction else ''}] {submission.login}", description=f"```\n{submission.get_mail()}\n```", labels=submission.homework, remove_source_branch="true",