Skip to content

Commit f472bf2

Browse files
committed
Condensed import
1 parent 8315ddf commit f472bf2

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

remove-json-keys/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'''
22
Name: remove-json-keys
3-
Version: 2026.2.10.18
3+
Version: 2026.2.10.19
44
Author: Adam Lui
55
Description: Remove key/value pairs from json_dir/**.json
66
Homepage: https://github.com/adamlui/python-utils
@@ -10,7 +10,7 @@
1010
'''
1111

1212
import argparse, os, re
13-
import lib.init as init
13+
from lib import init
1414

1515
cli = init.cli()
1616

translate-messages/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'''
22
Name: translate-en-messages
3-
Version: 2026.2.10.30
3+
Version: 2026.2.10.31
44
Author: Adam Lui
55
Description: Translate en/messages.json to other locales
66
Homepage: https://github.com/adamlui/python-utils
@@ -10,7 +10,7 @@
1010
'''
1111

1212
import argparse, os, json
13-
import lib.init as init
13+
from lib import init
1414
from sys import stdout
1515
from translate import Translator
1616
from urllib.request import urlopen

0 commit comments

Comments
 (0)