Fixed some dependency version issues.

This commit is contained in:
tomtom5152
2015-01-27 16:43:12 +00:00
parent ea9803f70a
commit 47e67e4c94
3 changed files with 4 additions and 3 deletions

View File

@@ -63,7 +63,7 @@ def import_people(delete=False):
resp = cursor.fetchall()
for row in resp:
email = row[3]
if email is not "" and "@" not in email:
if (email is not None) and ("@" not in email):
email += "@nottingham.ac.uk"
notes = ""