From ca08d08343ba9e21b5355371402001adf41cd647 Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Thu, 31 Jan 2019 17:40:43 +0100 Subject: [PATCH] [mod] #170: cert: ask to display or not the license --- silkaj/license.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/silkaj/license.py b/silkaj/license.py index 6b050402..bd77bdb4 100644 --- a/silkaj/license.py +++ b/silkaj/license.py @@ -22,7 +22,10 @@ from click import command, echo_via_pager, confirm def license_approval(currency): if currency != "g1": return - display_license() + if confirm( + "You will be asked to approve Ğ1 license. Would you like to display it?" + ): + display_license() confirm("Do you approve Ğ1 license?", abort=True) -- GitLab