ChaterJee 0.2.0__tar.gz → 0.2.2__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.2.0 → chaterjee-0.2.2}/ChaterJee/ChaterJee.py +10 -3
- chaterjee-0.2.2/ChaterJee/updater.py +8 -0
- {chaterjee-0.2.0 → chaterjee-0.2.2}/ChaterJee.egg-info/PKG-INFO +1 -1
- {chaterjee-0.2.0 → chaterjee-0.2.2}/ChaterJee.egg-info/SOURCES.txt +1 -0
- {chaterjee-0.2.0 → chaterjee-0.2.2}/PKG-INFO +1 -1
- {chaterjee-0.2.0 → chaterjee-0.2.2}/setup.py +1 -1
- {chaterjee-0.2.0 → chaterjee-0.2.2}/ChaterJee/__init__.py +0 -0
- {chaterjee-0.2.0 → chaterjee-0.2.2}/ChaterJee.egg-info/dependency_links.txt +0 -0
- {chaterjee-0.2.0 → chaterjee-0.2.2}/ChaterJee.egg-info/requires.txt +0 -0
- {chaterjee-0.2.0 → chaterjee-0.2.2}/ChaterJee.egg-info/top_level.txt +0 -0
- {chaterjee-0.2.0 → chaterjee-0.2.2}/README.md +0 -0
- {chaterjee-0.2.0 → chaterjee-0.2.2}/setup.cfg +0 -0
@@ -245,6 +245,8 @@ class ChatLogs:
|
|
245
245
|
self.txt='path not found'
|
246
246
|
elif cmd0=='clear':
|
247
247
|
self.txt="This clears the terminal screen!\nTo clear telegram screen type /clear"
|
248
|
+
elif cmd0=='pkill':
|
249
|
+
self.txt="pkill cannot be called."
|
248
250
|
else:
|
249
251
|
print('command: ',cmd2run)
|
250
252
|
cmd=cmd2run
|
@@ -313,9 +315,14 @@ class NoteLogs:
|
|
313
315
|
self.save_job_JSON()
|
314
316
|
|
315
317
|
def save_job_JSON(self):
|
316
|
-
|
317
|
-
|
318
|
-
|
318
|
+
_data = self.home / ".data"
|
319
|
+
_data.mkdir(exist_ok=True)
|
320
|
+
jobs_file = _data / "JOB_status.json"
|
321
|
+
try:
|
322
|
+
with open(jobs_file, 'r') as ffr:
|
323
|
+
jobs = json.load(ffr)
|
324
|
+
except FileNotFoundError:
|
325
|
+
jobs = {}
|
319
326
|
jobs[self.jobNAME] = {\
|
320
327
|
"logDIR": self.logDIR, \
|
321
328
|
"logFILE": self.logFILE, \
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|