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.
../../
cli.project_root
1 parent e858d0e commit 7408b17Copy full SHA for 7408b17
1 file changed
translate-messages/src/translate_messages/lib/settings.py
@@ -46,7 +46,7 @@ def load(cli, caller_file):
46
# Load from config file
47
cli.config = sns()
48
cli.project_root = os.path.join(os.path.dirname(caller_file),
49
- f"{ '' if 'src' in os.path.dirname(caller_file) else '../../' }../../")
+ f"../../{ '' if 'src' in os.path.dirname(caller_file) else '../../' }")
50
possile_config_filenames = [
51
'.translate-msgs.config.json', 'translate-msgs.config.json',
52
f'.{cli.name}.config.json', f'{cli.name}.config.json'
0 commit comments