Skip to content

Commit 4c3bb08

Browse files
authored
Update O365/excel.py
1 parent 67d4316 commit 4c3bb08

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

O365/excel.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1676,7 +1676,7 @@ def __init__(self, workbook):
16761676
"""
16771677

16781678
if not isinstance(workbook, WorkBook):
1679-
raise ValueError("workbook_or_id was not an accepted type: Workbook or string")
1679+
raise ValueError("workbook was not an accepted type: Workbook")
16801680

16811681
self.parent = workbook # Not really needed currently, but saving in case we need it for future functionality
16821682
self.con = workbook.session.con
@@ -1894,4 +1894,3 @@ def add_named_range(self, name, reference, comment='', is_formula=False):
18941894
if not response:
18951895
return None
18961896
return self.named_range_constructor(parent=self, **{self._cloud_data_key: response.json()})
1897-

0 commit comments

Comments
 (0)