Skip to content

Commit dbb62b1

Browse files
committed
fix(docstrings): escape chars in sample ini files to allow code introspection
1 parent daf21c6 commit dbb62b1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

profile_manager/handlers/customization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def import_customizations(source_profile_path: Path, target_profile_path: Path):
1313
E.g.
1414
[Customization]
1515
Browser=true
16-
Browser\AFS=false
16+
Browser\\AFS=false
1717
...
1818
1919
Args:

profile_manager/handlers/expressions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ def import_expressions(source_qgis_ini_file: Path, target_qgis_ini_file: Path):
99
...
1010
[expressions]
1111
...
12-
user\test_expression\expression=1 + 1
13-
user\test_expression\helpText="..."
12+
user\\test_expression\\expression=1 + 1
13+
user\\test_expression\\helpText="..."
1414
...
1515
1616
Note: This does not handle Python expression functions yet. TODO

0 commit comments

Comments
 (0)