mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-04 21:01:36 +00:00
Increase todrive max cell count (#615)
* Increase todrive max cell count * Toss backup file
This commit is contained in:
@@ -9747,7 +9747,7 @@ def writeCSVfile(csvRows, titles, list_type, todrive):
|
|||||||
rows = len(csvRows)
|
rows = len(csvRows)
|
||||||
cell_count = rows * columns
|
cell_count = rows * columns
|
||||||
mimeType = u'application/vnd.google-apps.spreadsheet'
|
mimeType = u'application/vnd.google-apps.spreadsheet'
|
||||||
if cell_count > 500000 or columns > 256:
|
if cell_count > 2000000 or columns > 256:
|
||||||
print u'{0}{1}'.format(WARNING_PREFIX, MESSAGE_RESULTS_TOO_LARGE_FOR_GOOGLE_SPREADSHEET)
|
print u'{0}{1}'.format(WARNING_PREFIX, MESSAGE_RESULTS_TOO_LARGE_FOR_GOOGLE_SPREADSHEET)
|
||||||
mimeType = u'text/csv'
|
mimeType = u'text/csv'
|
||||||
_, drive = buildDrive3GAPIObject(_getValueFromOAuth(u'email'))
|
_, drive = buildDrive3GAPIObject(_getValueFromOAuth(u'email'))
|
||||||
|
|||||||
Reference in New Issue
Block a user