Skip to content

Commit f6fb1c1

Browse files
committed
2 parents 79beccf + eec8bd9 commit f6fb1c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyexcel_io/base.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ def to_array(self):
9696
@add_metaclass(ABCMeta)
9797
class BookReaderBase(object):
9898

99+
def set_type(self, file_type):
100+
self.file_type = file_type
101+
99102
@abstractmethod
100103
def sheets(self):
101104
"""Get sheets in a dictionary"""
@@ -127,9 +130,6 @@ def __init__(self, filename, file_content=None,
127130
sheet = self.get_sheet(native_sheet)
128131
self.mysheets[sheet.name] = sheet.to_array()
129132

130-
def set_type(self, file_type):
131-
self.file_type = file_type
132-
133133
@abstractmethod
134134
def sheet_iterator(self):
135135
pass

0 commit comments

Comments
 (0)