File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,18 +7,18 @@ class _ODFReader(object):
7
7
8
8
Parameters
9
9
----------
10
- filepath_or_stream : string, path to be parsed or
10
+ filepath_or_buffer : string, path to be parsed or
11
11
an open readable stream.
12
12
"""
13
- def __init__ (self , filepath_or_stream ):
13
+ def __init__ (self , filepath_or_buffer ):
14
14
try :
15
15
from odf .opendocument import load as document_load
16
16
from odf .table import Table
17
17
except ImportError :
18
18
raise ImportError ("Install odfpy for OpenDocument support" )
19
19
20
- self .filepath_or_stream = filepath_or_stream
21
- self .document = document_load (filepath_or_stream )
20
+ self .filepath_or_buffer = filepath_or_buffer
21
+ self .document = document_load (filepath_or_buffer )
22
22
self .tables = self .document .getElementsByType (Table )
23
23
24
24
@property
You can’t perform that action at this time.
0 commit comments