mirror of
https://github.com/vale981/jobmanager
synced 2025-03-04 17:31:39 -05:00
minor changed: PREPEND local path to sys.path in examples, removed some debug info
This commit is contained in:
parent
9efffd943b
commit
9653bdca06
3 changed files with 5 additions and 3 deletions
|
@ -8,7 +8,8 @@ from os.path import split, dirname, abspath
|
|||
import sys
|
||||
import time
|
||||
|
||||
sys.path.append(split(dirname(abspath(__file__)))[0])
|
||||
# Add parent directory to beginning of path variable
|
||||
sys.path = [split(dirname(abspath(__file__)))[0]] + sys.path
|
||||
|
||||
import jobmanager as jm
|
||||
|
||||
|
|
|
@ -8,7 +8,8 @@ from os.path import split, dirname, abspath
|
|||
import sys
|
||||
import time
|
||||
|
||||
sys.path.append(split(dirname(abspath(__file__)))[0])
|
||||
# Add parent directory to beginning of path variable
|
||||
sys.path = [split(dirname(abspath(__file__)))[0]] + sys.path
|
||||
|
||||
import jobmanager as jm
|
||||
|
||||
|
|
|
@ -510,7 +510,7 @@ class JobManager_Server(object):
|
|||
self.process_final_result()
|
||||
|
||||
|
||||
print(self.fname_dump)
|
||||
# print(self.fname_dump)
|
||||
if self.fname_dump is not None:
|
||||
if self.fname_dump == 'auto':
|
||||
fname = "{}_{}.dump".format(self.authkey.decode('utf8'), getDateForFileName(includePID=False))
|
||||
|
|
Loading…
Add table
Reference in a new issue