Skip to content

Commit 8f60962

Browse files
committed
Minor print fixes for excel
1 parent 4b04529 commit 8f60962

File tree

1 file changed

+3
-3
lines changed
  • microsoft-excel/1.0.0/src

1 file changed

+3
-3
lines changed

microsoft-excel/1.0.0/src/app.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ def convert_to_csv(self, tenant_id, client_id, client_secret, file_id, sheet="Sh
138138

139139
# grab the active worksheet
140140
ws = wb.active
141-
for item in ws.iter_rows():
142-
print(item)
141+
#for item in ws.iter_rows():
142+
# print(item)
143143

144144
csvdata = ""
145145
for row in ws.values:
@@ -156,7 +156,7 @@ def convert_to_csv(self, tenant_id, client_id, client_secret, file_id, sheet="Sh
156156
csvdata = csvdata[:-1]
157157

158158
print()
159-
print("Data:\n%s\n" % csvdata)
159+
print("Data length:\n(%s)\n" % len(csvdata))
160160

161161
return csvdata
162162

0 commit comments

Comments
 (0)