Skip to content

Commit

Permalink
Changed operation to PREPEND for update_spreadsheet_headers()
Browse files Browse the repository at this point in the history
  • Loading branch information
mallocator4 authored and akskha committed Feb 13, 2019
1 parent 1974293 commit 38b1c02
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions python/quip.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,13 +486,12 @@ def update_spreadsheet_headers(self, thread_id, *headers, **kwargs):
spreadsheet = self.get_named_spreadsheet(kwargs["name"], thread_id)
else:
spreadsheet = self.get_first_spreadsheet(thread_id)
section_id = self.get_last_row_item_id(spreadsheet)
operation = self.AFTER_SECTION
section_id = self.get_first_row_item_id(spreadsheet)
return self.edit_document(
thread_id=thread_id,
content=content,
section_id=section_id,
operation=operation)
operation=self.PREPEND)

def update_spreadsheet_row(self, thread_id, header, value, updates, **args):
"""Finds the row where the given header column is the given value, and
Expand Down

0 comments on commit 38b1c02

Please sign in to comment.