From 4f84122649c22f1f1f634a681492bdd3b2a89b49 Mon Sep 17 00:00:00 2001 From: Aaron Lee Date: Sun, 3 Oct 2021 15:30:57 +0800 Subject: [PATCH] syntax error --- upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload.py b/upload.py index d96ed7b..db51788 100644 --- a/upload.py +++ b/upload.py @@ -83,7 +83,7 @@ def upload_homeroom(): with open(filepath) as file: csv_dict = csv.DictReader(file) for row in csv_dict: - if row['number'] == 'teacher' | | row['number'] == 'Teacher': + if row['number'] == 'teacher' or row['number'] == 'Teacher': accs = row['name'].split(',') for key in allUsers: if accs == []: