Skip to content

Commit

Permalink
support sheltered file types, such as xlsx under pyexcel-xls
Browse files Browse the repository at this point in the history
  • Loading branch information
chfw committed Dec 14, 2016
1 parent d74d046 commit 930dd4e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyexcel_io/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ def pre_register(library_meta, module_name):
soft_register[library_meta['file_type']].append(library_import_path)
register_stream_type(
library_meta['file_type'], library_meta['stream_type'])
if 'other_types' in library_meta:
for file_type in library_meta['other_types']:
soft_register[file_type].append(library_import_path)
register_stream_type(file_type, library_meta['stream_type'])


def dynamic_load_library(file_type, library_import_path):
Expand Down

0 comments on commit 930dd4e

Please sign in to comment.