draft implementation of auto import of pyexcel-xls

This commit is contained in:
chfw 2016-05-04 23:36:52 +01:00
parent bd07fafc11
commit 11cd46728b
1 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,9 @@
from pyexcel_io.io import get_data as read_data, isstream, store_data as write_data
__pyexcel_io_plugins__ = ['xls']
def get_data(afile, file_type=None, **keywords):
if isstream(afile) and file_type is None:
file_type = 'xls'