ChaterJee 0.5.3__tar.gz → 0.5.4__tar.gz
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.
- {chaterjee-0.5.3 → chaterjee-0.5.4}/ChaterJee/ChaterJee.py +17 -8
- {chaterjee-0.5.3 → chaterjee-0.5.4}/ChaterJee.egg-info/PKG-INFO +1 -1
- {chaterjee-0.5.3 → chaterjee-0.5.4}/PKG-INFO +1 -1
- {chaterjee-0.5.3 → chaterjee-0.5.4}/setup.py +1 -1
- {chaterjee-0.5.3 → chaterjee-0.5.4}/ChaterJee/__init__.py +0 -0
- {chaterjee-0.5.3 → chaterjee-0.5.4}/ChaterJee.egg-info/SOURCES.txt +0 -0
- {chaterjee-0.5.3 → chaterjee-0.5.4}/ChaterJee.egg-info/dependency_links.txt +0 -0
- {chaterjee-0.5.3 → chaterjee-0.5.4}/ChaterJee.egg-info/requires.txt +0 -0
- {chaterjee-0.5.3 → chaterjee-0.5.4}/ChaterJee.egg-info/top_level.txt +0 -0
- {chaterjee-0.5.3 → chaterjee-0.5.4}/README.md +0 -0
- {chaterjee-0.5.3 → chaterjee-0.5.4}/setup.cfg +0 -0
@@ -473,13 +473,22 @@ class NoteLogs:
|
|
473
473
|
jobs = json.load(ffr)
|
474
474
|
except FileNotFoundError:
|
475
475
|
jobs = {}
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
476
|
+
try:
|
477
|
+
jobD = jobs[self.jobNAME]
|
478
|
+
except KeyError:
|
479
|
+
jobs[self.jobNAME] = {}
|
480
|
+
jobD = {}
|
481
|
+
if self.logDIR is not None:
|
482
|
+
jobD["logDIR"] = self.logDIR
|
483
|
+
if self.logFILE is not None:
|
484
|
+
jobD["logFILE"] = self.logFILE
|
485
|
+
if self.logIMAGE is not None:
|
486
|
+
jobD["logIMAGE"] = self.logIMAGE
|
487
|
+
if self.logDICT is not None:
|
488
|
+
jobD["logDICT"] = self.logDICT
|
489
|
+
if len(jobD):
|
490
|
+
jobs[self.jobNAME] = jobD
|
491
|
+
with open(jobs_file, 'w') as ffw:
|
492
|
+
json.dump(jobs, ffw, indent=4)
|
484
493
|
|
485
494
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|