Skip to content

Commit

Permalink
Fixed read_cell_formula for Excel 🧮
Browse files Browse the repository at this point in the history
  • Loading branch information
Koen van Eijk committed Sep 7, 2020
1 parent a31ccfb commit 09732a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions automagica/activities.py
Original file line number Diff line number Diff line change
Expand Up @@ -5250,7 +5250,7 @@ def write_cell_formula(self, column, row, formula):
self.workbook.ActiveSheet.Cells(row, column).Formula = formula

@activity
def read_cell_formula(self, column, row, formula):
def read_cell_formula(self, column, row):
"""Read cell formula
Read the formula from a particular cell
Expand All @@ -5267,7 +5267,7 @@ def read_cell_formula(self, column, row, formula):
>>> # Open Excel
>>> excel = Excel()
>>> # Write a formula to the first cell
>>> excel.write_cell_formula(1, 1, '=1+1)
>>> excel.write_cell_formula(1, 1, '=1+1')
>>> # Read the cell
>>> excel.read_cell_formula(1, 1)
'=1+1'
Expand Down

0 comments on commit 09732a5

Please sign in to comment.