Compare commits
No commits in common. "78d4d2a452cd2fd823568d43bd85e82033ffd531" and "c6739a3a5368129251043616d8089e36e60e7c79" have entirely different histories.
78d4d2a452
...
c6739a3a53
@ -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
|
||||
if data is None:
|
||||
print(xlsfile, 'not data return')
|
||||
return
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user