warnings update

This commit is contained in:
Enno Rehling 2002-03-24 11:54:47 +00:00
parent 28ebdd637b
commit 4bcba4a8ff
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ warnahead=2
db=MySQLdb.connect(db=dbname)
cursor=db.cursor()
users = cursor.execute("select users.email, users.id, count(subscriptions.game) from users, subscriptions, games where users.id=subscriptions.user and subscriptions.game=games.id and games.status='RUNNING' GROUP BY users.id")
users = cursor.execute("select users.email, users.id, count(subscriptions.game) from users, subscriptions, games where users.id=subscriptions.user and subscriptions.game=games.id user.id!=0 and games.status='RUNNING' GROUP BY users.id")
server=smtplib.SMTP('localhost')
while users > 0:
users=users-1