Skip to content

Commit 0c99b46

Browse files
committed
1 parent 1790040 commit 0c99b46

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

translate-messages/lib/init.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
from lib import data
33
from types import SimpleNamespace as sns
44

5-
def cli(callerFile):
5+
def cli(caller_file):
66

77
cli = sns(
88
name='translate-messages',
9-
version='2026.2.10.44',
9+
version='2026.2.10.45',
1010
author=sns(name='Adam Lui', email='adam@kudoa.com', url='https://github.com/adamlui'),
1111
description='Translate en/messages.json to other locales',
1212
urls=sns(
@@ -28,7 +28,7 @@ def cli(callerFile):
2828

2929
# Load from config file
3030
cli.config_filename = f'{cli.name}.config.json'
31-
cli.config_path = os.path.join(os.path.dirname(callerFile), cli.config_filename)
31+
cli.config_path = os.path.join(os.path.dirname(caller_file), cli.config_filename)
3232
cli.config_data = {}
3333
if os.path.exists(cli.config_path):
3434
with open(cli.config_path, 'r', encoding='utf-8') as f:

0 commit comments

Comments
 (0)