Compare commits

..

No commits in common. "78d4d2a452cd2fd823568d43bd85e82033ffd531" and "c6739a3a5368129251043616d8089e36e60e7c79" have entirely different histories.

View File

@ -26,11 +26,7 @@ def xls2ddl(xlsfile,dbtype):
data = None
if xlsfile.endswith('.json'):
with codecs.open(xlsfile,'r','utf-8') as f:
try:
data = json.load(f)
except Exception as e:
print(f'{f}:error({e})')
raise e
data = json.load(f)
if data is None:
print(xlsfile, 'not data return')
return