Skip to content

Commit

Permalink
change string into fstring in resources.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kay0u authored Jul 4, 2023
1 parent dc0fa8c commit 36a17df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -1175,7 +1175,7 @@ def provision_or_update(self, context: Dict = {}):
port_value = self.get_setting(setting_name)
if not port_value and name != "main":
# Automigrate from legacy setting foobar_port (instead of port_foobar)
legacy_setting_name = "{name}_port"
legacy_setting_name = f"{name}_port"
port_value = self.get_setting(legacy_setting_name)
if port_value:
self.set_setting(setting_name, port_value)
Expand Down

0 comments on commit 36a17df

Please sign in to comment.