From dbb62b1367503bd54027ca116d004b90027a158c Mon Sep 17 00:00:00 2001 From: Julien Moura Date: Wed, 26 Mar 2025 17:09:43 +0100 Subject: [PATCH] fix(docstrings): escape chars in sample ini files to allow code introspection --- profile_manager/handlers/customization.py | 2 +- profile_manager/handlers/expressions.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/profile_manager/handlers/customization.py b/profile_manager/handlers/customization.py index 766a0d1..2764c39 100644 --- a/profile_manager/handlers/customization.py +++ b/profile_manager/handlers/customization.py @@ -13,7 +13,7 @@ def import_customizations(source_profile_path: Path, target_profile_path: Path): E.g. [Customization] Browser=true - Browser\AFS=false + Browser\\AFS=false ... Args: diff --git a/profile_manager/handlers/expressions.py b/profile_manager/handlers/expressions.py index ed27c6e..032c269 100644 --- a/profile_manager/handlers/expressions.py +++ b/profile_manager/handlers/expressions.py @@ -9,8 +9,8 @@ def import_expressions(source_qgis_ini_file: Path, target_qgis_ini_file: Path): ... [expressions] ... - user\test_expression\expression=1 + 1 - user\test_expression\helpText="..." + user\\test_expression\\expression=1 + 1 + user\\test_expression\\helpText="..." ... Note: This does not handle Python expression functions yet. TODO