Skip to content

Commit

Permalink
Merge pull request #3 from Aniketh01/master
Browse files Browse the repository at this point in the history
Update the is_valid_mail function to check if the mails are present i…
  • Loading branch information
sandeshghanta authored Oct 13, 2018
2 parents c209799 + a738896 commit beedc7e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ def is_valid_mail(mailid):
except (MySQLdb.Error, MySQLdb.Warning) as e:
app.logger.info(e)
conn.close()

if (result > 0):
return True
return False

def follow(chatId,new_following):
new_following = list(set(new_following))
Expand Down

0 comments on commit beedc7e

Please sign in to comment.