This commit is contained in:
Kenneth Reitz
2010-10-04 16:12:42 -04:00
parent 5912bf4870
commit da2e670d0d
+5 -6
View File
@@ -66,12 +66,11 @@ def dset_sheet(dataset, ws):
# wrap the rest
else:
try:
pass
except Exception, e:
raise e
if (col is None) or ('\n' in col):
ws.write(i, j, col, wrap)
else:
if '\n' in col:
ws.write(i, j, col, wrap)
else:
ws.write(i, j, col)
except TypeError:
ws.write(i, j, col)