MapleX 3.2.0.dev2__py3-none-any.whl → 3.2.0.dev3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- maplex/__init__.py +1 -1
- maplex/library/logger/config.py +3 -3
- {maplex-3.2.0.dev2.dist-info → maplex-3.2.0.dev3.dist-info}/METADATA +1 -1
- {maplex-3.2.0.dev2.dist-info → maplex-3.2.0.dev3.dist-info}/RECORD +7 -7
- {maplex-3.2.0.dev2.dist-info → maplex-3.2.0.dev3.dist-info}/WHEEL +0 -0
- {maplex-3.2.0.dev2.dist-info → maplex-3.2.0.dev3.dist-info}/licenses/LICENSE +0 -0
- {maplex-3.2.0.dev2.dist-info → maplex-3.2.0.dev3.dist-info}/top_level.txt +0 -0
maplex/__init__.py
CHANGED
maplex/library/logger/config.py
CHANGED
|
@@ -299,7 +299,7 @@ class LoggerConfig(BaseModel):
|
|
|
299
299
|
except MapleInvalidLoggerLevelException as ex:
|
|
300
300
|
|
|
301
301
|
print(f"{self.consoleColors.Red}Warning: Invalid {fileOrConsole} provided: [{tempLogLevel}]. Using default value.{self.consoleColors.Reset}")
|
|
302
|
-
return
|
|
302
|
+
return LogLevel.INFO
|
|
303
303
|
|
|
304
304
|
def setFileEncoding(self, encoding: str) -> None:
|
|
305
305
|
|
|
@@ -375,7 +375,7 @@ class LoggerConfig(BaseModel):
|
|
|
375
375
|
|
|
376
376
|
else:
|
|
377
377
|
|
|
378
|
-
self.formats.consoleFormat = self.logConf.get(CONSOLE_LOG_FORMAT, None)
|
|
378
|
+
self.formats.consoleFormat = self.logConf.get(FORMATS, {}).get(CONSOLE_LOG_FORMAT, None)
|
|
379
379
|
|
|
380
380
|
if self.formats.consoleFormat is None:
|
|
381
381
|
|
|
@@ -390,7 +390,7 @@ class LoggerConfig(BaseModel):
|
|
|
390
390
|
|
|
391
391
|
else:
|
|
392
392
|
|
|
393
|
-
self.formats.fileFormat = self.logConf.get(FILE_LOG_FORMAT, None)
|
|
393
|
+
self.formats.fileFormat = self.logConf.get(FORMATS, {}).get(FILE_LOG_FORMAT, None)
|
|
394
394
|
|
|
395
395
|
if self.formats.fileFormat is None:
|
|
396
396
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: MapleX
|
|
3
|
-
Version: 3.2.0.
|
|
3
|
+
Version: 3.2.0.dev3
|
|
4
4
|
Summary: A Python library for simple logging, json file operations, Maple file format operations, and console color utilities.
|
|
5
5
|
Author: Ryuji Hazama
|
|
6
6
|
Project-URL: PyPI, https://pypi.org/project/MapleX/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
maplex/__init__.py,sha256=
|
|
1
|
+
maplex/__init__.py,sha256=CjRB1hRYf7YEvEtihCtKC1PXOnjKhWc4oC7SoW5-GrU,1881
|
|
2
2
|
maplex/jsonHandler.py,sha256=HZ4uCUMzs2oaAYWgInc6gzo960q46e7IOk7tTMzqdAE,7445
|
|
3
3
|
maplex/mapleColors.py,sha256=ASg-GstHkyXsq4mVMuFz8Qaq3nQeFayQWcCy9iHzjTs,1543
|
|
4
4
|
maplex/mapleExceptions.py,sha256=zN-GLYNGSWalQ8GiFH-BxRzYhSfbv6V-1O3cA46yAUo,4924
|
|
@@ -6,7 +6,7 @@ maplex/mapleLogger.py,sha256=M7djSjf2ZxQP8lWeuLCiDlCP4ALt2NQproO7ybgX3gM,10819
|
|
|
6
6
|
maplex/mapleTreeEditor.py,sha256=5596bARJWHXyGUeXWRYx9lKSfaZdBmGQLvkF_OiKzZ0,29249
|
|
7
7
|
maplex/utils.py,sha256=TcUdfn9uhk9zwMTxtWgsZ1ZKdc2_i0ysgrksMbzvX1I,603
|
|
8
8
|
maplex/library/logger/__init__.py,sha256=SXTK3CieuahEa-6-eE-JGb6TwxgS7xyMaOjE5PspDbk,447
|
|
9
|
-
maplex/library/logger/config.py,sha256=
|
|
9
|
+
maplex/library/logger/config.py,sha256=KJCbicwci-vv3PzYmlYH53p77YdHnXEcBg2nh0CxFZ8,14650
|
|
10
10
|
maplex/library/logger/file_handler.py,sha256=nbBTTNl_-iq2i0ooV6tpCP7JbfTiWvqoFkY0QF6vir8,2740
|
|
11
11
|
maplex/library/logger/formatter.py,sha256=aHPk-56uIcEGsHml2Fb1VwI9l97cll0bn_n1gRhs50k,7400
|
|
12
12
|
maplex/library/logger/log_levels.py,sha256=q4NpokbM6vEabLC7OS-JHZgnhbDROk0yHa5-uM3t_Uw,186
|
|
@@ -15,8 +15,8 @@ maplex/library/logger/consts/__init__.py,sha256=_C16zebMU2ac0UdIB96S5j8__qLL4cYh
|
|
|
15
15
|
maplex/library/logger/consts/config_keys.py,sha256=qMBJTMSVerprRrgP86sAmmfPF5IyHGsoBFZTW9uqbjU,486
|
|
16
16
|
maplex/library/logger/consts/defaults.py,sha256=sI5dwexy4BBWq6fNwFfPrkWeWuT5OcCMnhM_8i7vo0g,266
|
|
17
17
|
maplex/library/logger/consts/dict_keys.py,sha256=7cDArmYjVn4t9pniT6csV6ByEKmV8Z4SlB-pWFRRgCw,317
|
|
18
|
-
maplex-3.2.0.
|
|
19
|
-
maplex-3.2.0.
|
|
20
|
-
maplex-3.2.0.
|
|
21
|
-
maplex-3.2.0.
|
|
22
|
-
maplex-3.2.0.
|
|
18
|
+
maplex-3.2.0.dev3.dist-info/licenses/LICENSE,sha256=M7R85ReZ2srvowIPO_c9sHI3DV7QmxnLH93esXVhwGI,1068
|
|
19
|
+
maplex-3.2.0.dev3.dist-info/METADATA,sha256=vYhG4WQ3G2cXmxhVLIJ5yqIlVSdb4iavPn9h0QrDVlo,7389
|
|
20
|
+
maplex-3.2.0.dev3.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
|
|
21
|
+
maplex-3.2.0.dev3.dist-info/top_level.txt,sha256=ME8uFV82K0y0KYJrHVTMgc0hEBV67iXXUKsvom7BO5g,7
|
|
22
|
+
maplex-3.2.0.dev3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|