Polished postmigration scripts

This commit is contained in:
Keannu Christian Bernasol 2023-07-23 23:19:47 +08:00
parent 80f8aa5d66
commit 97374442f7
2 changed files with 3 additions and 3 deletions

View file

@ -88,7 +88,7 @@ def populate_subjects(sender, **kwargs):
csv_file_path = os.path.join(root_path, csv_file)
# Filename contains course of subjects
filename = os.path.splitext(csv_file)[0]
print('Reading subjects from', filename)
print('---', 'Adding Subjects from', filename, '---')
with open(csv_file_path, newline='') as csvfile:
reader = csv.reader(csvfile)