Actually call the appropriate file.

This commit is contained in:
Ashley Penney
2013-01-17 15:50:37 -05:00
parent 3aacba1f63
commit 274cb8d865

View File

@@ -44,7 +44,8 @@ class Command(BaseCommand):
s3(settings.PEARSON['LOCAL_IMPORT'],
settings.PEARSON['BUCKET'], options['mode'])
for file in os.listdir(settings.PEARSON['LOCAL_IMPORT']):
call_command('pearson_import_conf_zip', 'dest_from_settings')
call_command('pearson_import_conf_zip',
settings.PEARSON['LOCAL_IMPORT'] + '/' + file)
os.remove(file)
def export_pearson():