Skip to content

Commit

Permalink
fix: if csv path
Browse files Browse the repository at this point in the history
  • Loading branch information
varshamenon4 committed Mar 29, 2024
1 parent d633957 commit 609194a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def handle(self, *args, **options):
batch_size = options['batch_size']
batch_delay = options['batch_delay']

if csv:
if csv_path:
with open(csv_path, 'rb') as csv_file:
self.add_course_staff_from_csv(csv_file, batch_size, batch_delay)

Expand Down

0 comments on commit 609194a

Please sign in to comment.