We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d93893 commit 2309621Copy full SHA for 2309621
ffpm.py
@@ -457,6 +457,7 @@ def import_profile(
457
if PROFILES_INI.exists():
458
import configparser
459
config = configparser.RawConfigParser()
460
+ config.optionxform = str
461
config.read(PROFILES_INI)
462
# Find next available profile index
463
indices = [int(s[7:]) for s in config.sections() if s.startswith("Profile") and s[7:].isdigit()]
@@ -468,7 +469,7 @@ def import_profile(
468
469
rel_path = f"Profiles/{name}"
470
config.set(section, "Path", rel_path)
471
with PROFILES_INI.open("w") as f:
- config.write(f)
472
+ config.write(f, space_around_delimiters=False)
473
typer.echo(f"Imported profile as '{name}' at {dest_dir}")
474
475
0 commit comments