bug 修复
parent
f9a47149b5
commit
8b14fda573
|
|
@ -210,4 +210,5 @@ nohup.out
|
|||
log/*
|
||||
!log/readme.md
|
||||
example/*
|
||||
!example/readme.md
|
||||
!example/readme.md
|
||||
result/*
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import os
|
||||
import logging
|
||||
|
||||
basedir = os.path.dirname(os.path.realpath(__file__))
|
||||
basedir = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
|
||||
|
||||
|
||||
def log(name):
|
||||
|
|
|
|||
|
|
@ -208,7 +208,7 @@ class AutoLayout:
|
|||
try:
|
||||
self.assign_samples()
|
||||
except Exception as e:
|
||||
self.return_log.append(f'排样出错, 请联系!{e}')
|
||||
self.return_log.append(f'nova_xplus排样出错, 请联系!{e}')
|
||||
self.index_assignments = {}
|
||||
outputname = 'assignments_%s_%s' % (datetime.now().strftime("%m%d%H%M"), os.path.basename(self.path))
|
||||
outputpath = os.path.join(self.output, 'result', outputname)
|
||||
|
|
|
|||
|
|
@ -266,7 +266,7 @@ class AutoLayout:
|
|||
try:
|
||||
self.assign_samples()
|
||||
except Exception as e:
|
||||
self.return_log.append(f'排样出错, 请联系!{e}')
|
||||
self.return_log.append(f'T7排样出错, 请联系!{e}')
|
||||
self.index_assignments = {}
|
||||
outputname = 'assignments_%s_%s' % (datetime.now().strftime("%m%d%H%M"), os.path.basename(self.path))
|
||||
outputpath = os.path.join(self.output, 'result', outputname)
|
||||
|
|
|
|||
Loading…
Reference in New Issue