Skip to content

Commit

Permalink
fix(config: migrate_value): mark config part as migrated
Browse files Browse the repository at this point in the history
  • Loading branch information
actionless committed Aug 4, 2024
1 parent 6123c0e commit 4f5b453
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pikaur/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,7 @@ def _migrate_deprecated_config_value(
if current_value == old_default:
new_default_value = option_schema["default"]
cls._config[section_name][option_name] = new_default_value
CONFIG_SCHEMA[section_name][option_name]["migrated"] = True
print(" ".join([ # noqa: T201
"::",
translate("warning:"),
Expand Down

0 comments on commit 4f5b453

Please sign in to comment.