Skip to content

Commit

Permalink
all providers are present
Browse files Browse the repository at this point in the history
  • Loading branch information
cahytinne committed Jul 31, 2015
1 parent 8d4edc2 commit 32d109f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions atramhasis/scripts/import_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,6 @@ def main(argv=sys.argv):
session = conn_str_to_session(args.to)
file_to_provider_function = [supported_types[filetype]['file_to_provider'] for filetype in supported_types.keys()
if input_ext in supported_types[filetype]['extensions']][0]
if file_to_provider_function == '':
print('Importer is not yet implemented')
sys.exit(1)
else:
provider = file_to_provider_function(args.input_file)
provider = file_to_provider_function(args.input_file)
cs = create_conceptscheme(input_name.capitalize())
provider_to_db(provider, cs, session)

0 comments on commit 32d109f

Please sign in to comment.