diff --git a/server.py b/server.py index efb6718..54cbca9 100644 --- a/server.py +++ b/server.py @@ -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))