From a2fb9e850968a7d08e3cd3fcbac09ac05a86278f Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Fri, 2 May 2025 08:16:24 +0200 Subject: [PATCH] fix: do not force use_data usage --- locale/rougail_user_data_bitwarden.pot | 2 +- src/rougail/user_data_bitwarden/config.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/locale/rougail_user_data_bitwarden.pot b/locale/rougail_user_data_bitwarden.pot index d3b2bbe..b6b656c 100644 --- a/locale/rougail_user_data_bitwarden.pot +++ b/locale/rougail_user_data_bitwarden.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2025-04-09 14:14+0200\n" +"POT-Creation-Date: 2025-04-29 23:02+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/src/rougail/user_data_bitwarden/config.py b/src/rougail/user_data_bitwarden/config.py index 339d400..b7b3c60 100644 --- a/src/rougail/user_data_bitwarden/config.py +++ b/src/rougail/user_data_bitwarden/config.py @@ -30,10 +30,10 @@ step: redefine: true default: jinja: |- - {% if 'bitwarden' in step.user_data %} + {% if step.user_data is not propertyerror and 'bitwarden' in step.user_data %} bitwarden {% endif %} - {% if 'risotto' in step.user_data %} + {% if step.user_data is not propertyerror and 'risotto' in step.user_data %} risotto {% else %} directory