mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-19 06:22:16 +00:00
Fixed some dependency version issues.
This commit is contained in:
@@ -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 = ""
|
||||
|
||||
Reference in New Issue
Block a user