Update __init__.py
This commit is contained in:
parent
aa7d359cf6
commit
03d46c7043
@ -114,8 +114,8 @@ class Options:
|
|||||||
|
|
||||||
def format(self, text: str) -> str:
|
def format(self, text: str) -> str:
|
||||||
cache_option = self.flush_option()
|
cache_option = self.flush_option()
|
||||||
for option in cache_option:
|
for option, value in cache_option.items():
|
||||||
text.replace(f'\{{option}\}')
|
text.replace(f'{{{option}}}', value)
|
||||||
|
|
||||||
def flush_option(self) -> Dict[str, Any]:
|
def flush_option(self) -> Dict[str, Any]:
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user