|
@@ -23,6 +23,9 @@ class CExcelParser(CBaseLog):
|
|
path = path.decode('utf-8')
|
|
path = path.decode('utf-8')
|
|
self.xls_path = path
|
|
self.xls_path = path
|
|
|
|
|
|
|
|
+ if not os.path.exists(self.xls_path):
|
|
|
|
+ return
|
|
|
|
+
|
|
# 打开文件;
|
|
# 打开文件;
|
|
wb = xlrd.open_workbook(filename=self.xls_path)
|
|
wb = xlrd.open_workbook(filename=self.xls_path)
|
|
if wb is None:
|
|
if wb is None:
|