pycoze 0.1.140__py3-none-any.whl → 0.1.142__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pycoze/utils/arg.py +2 -1
- {pycoze-0.1.140.dist-info → pycoze-0.1.142.dist-info}/METADATA +1 -1
- {pycoze-0.1.140.dist-info → pycoze-0.1.142.dist-info}/RECORD +6 -6
- {pycoze-0.1.140.dist-info → pycoze-0.1.142.dist-info}/LICENSE +0 -0
- {pycoze-0.1.140.dist-info → pycoze-0.1.142.dist-info}/WHEEL +0 -0
- {pycoze-0.1.140.dist-info → pycoze-0.1.142.dist-info}/top_level.txt +0 -0
pycoze/utils/arg.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
import sys
|
2
2
|
import json
|
3
|
+
import os
|
3
4
|
|
4
5
|
|
5
6
|
def read_arg(param, is_path=False, posix=True):
|
@@ -32,6 +33,6 @@ def read_params_file():
|
|
32
33
|
def read_json_file(filename):
|
33
34
|
params = read_params_file()
|
34
35
|
json_file = os.path.join(params['appPath'], 'JsonStorage', filename)
|
35
|
-
with open(filename,
|
36
|
+
with open(filename, encoding='utf-8') as f:
|
36
37
|
return json.load(f)
|
37
38
|
|
@@ -21,10 +21,10 @@ pycoze/ui/color.py,sha256=cT9Ib8uNzkOKxyW0IwVj46o4LwdB1xgNCj1_Rou9d_4,854
|
|
21
21
|
pycoze/ui/typ.py,sha256=NpT0FrbHvByOszBZMFtroRp7I7pN-38tYz_zPOPejF4,1723
|
22
22
|
pycoze/ui/ui_def.py,sha256=UhhU_yB3GV9ISbvTWT48hsHPHI250BhMILh6bu5Uioo,4206
|
23
23
|
pycoze/utils/__init__.py,sha256=ET0W5wzq4zlY3dr1wHVbbeRKlKdC_zqHt9b0jZyHohw,94
|
24
|
-
pycoze/utils/arg.py,sha256=
|
24
|
+
pycoze/utils/arg.py,sha256=OwjZ-eY19ybso-BhRYhyUxupB8GkMBEXPVP1FMrBy8c,983
|
25
25
|
pycoze/utils/text_or_file.py,sha256=gpxZVWt2DW6YiEg_MnMuwg36VNf3TX383QD_1oZNB0Y,551
|
26
|
-
pycoze-0.1.
|
27
|
-
pycoze-0.1.
|
28
|
-
pycoze-0.1.
|
29
|
-
pycoze-0.1.
|
30
|
-
pycoze-0.1.
|
26
|
+
pycoze-0.1.142.dist-info/LICENSE,sha256=QStd_Qsd0-kAam_-sOesCIp_uKrGWeoKwt9M49NVkNU,1090
|
27
|
+
pycoze-0.1.142.dist-info/METADATA,sha256=pCArKFqaLGjGq5YwbkLKvoL4lT3h6cB86NGMNdhFyU8,726
|
28
|
+
pycoze-0.1.142.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
29
|
+
pycoze-0.1.142.dist-info/top_level.txt,sha256=76dPeDhKvOCleL3ZC5gl1-y4vdS1tT_U1hxWVAn7sFo,7
|
30
|
+
pycoze-0.1.142.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|