We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
possile_filenames
possile_config_filenames
1 parent 724d5f1 commit 1d04f8fCopy full SHA for 1d04f8f
1 file changed
translate-messages/src/translate_messages/lib/init.py
@@ -10,11 +10,11 @@ def cli(caller_file):
10
cli.config = sns()
11
cli.project_root = os.path.join(os.path.dirname(caller_file),
12
f"{ '' if 'src' in os.path.dirname(caller_file) else '../../' }../../")
13
- possile_filenames = [
+ possile_config_filenames = [
14
'.translate-msgs.config.json', 'translate-msgs.config.json',
15
f'.{cli.name}.config.json', f'{cli.name}.config.json'
16
]
17
- for filename in possile_filenames:
+ for filename in possile_config_filenames:
18
cli.config_path = os.path.join(cli.project_root, filename)
19
if os.path.exists(cli.config_path):
20
cli.config = data.sns.from_dict(data.json.read(cli.config_path))
0 commit comments