Fix a typo in donor_import.py

This commit is contained in:
Felix Yan 2019-01-30 03:01:50 +08:00
parent 5895b2a221
commit 632dff662e
No known key found for this signature in database
GPG Key ID: 786C63F330D7CB92

View File

@ -61,7 +61,7 @@ def parse_subject(self, subject):
def sanitize_name(self, name): def sanitize_name(self, name):
"""Sanitizes the parsed name and removes numbers, entries with no """Sanitizes the parsed name and removes numbers, entries with no
valid characters and finaly trims all excess whitespace""" valid characters and finally trims all excess whitespace"""
# Some submissions contain no alphabetic characters, skip them # Some submissions contain no alphabetic characters, skip them
if all(not l.isalpha() for l in name): if all(not l.isalpha() for l in name):