Skip to content

Commit e0b4d2b

Browse files
committed
Condensed msgs_path init
1 parent f5f4186 commit e0b4d2b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

remove-json-keys/utils/clean.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from remove_json_keys.lib import data, log
66

77
def main():
8-
msgs_path = Path(__file__).parent.parent / 'utils/data/messages.json'
8+
msgs_path = Path(__file__).parent / 'data/messages.json'
99
msgs = sn(**{ key:val['message'] for key,val in data.json.read(msgs_path)['clean'].items() })
1010

1111
for target in ['dist', 'build', '*_cache', '__pycache__', '*.egg-info']:

translate-messages/utils/clean.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from translate_messages.lib import data, log
66

77
def main():
8-
msgs_path = Path(__file__).parent.parent / 'utils/data/messages.json'
8+
msgs_path = Path(__file__).parent / 'data/messages.json'
99
msgs = sn(**{ key:val['message'] for key,val in data.json.read(msgs_path)['clean'].items() })
1010

1111
for target in ['dist', 'build', '*_cache', '__pycache__', '*.egg-info']:

0 commit comments

Comments
 (0)