From 00a66620433335b13bb6bfc428ab51bc65085eee Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 13 Apr 2002 12:41:21 +0000 Subject: [PATCH] Fehelr im Stand-In Skript --- scripts/cgi-bin/standin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cgi-bin/standin.py b/scripts/cgi-bin/standin.py index 735e9d2ef..abcceb691 100755 --- a/scripts/cgi-bin/standin.py +++ b/scripts/cgi-bin/standin.py @@ -95,7 +95,7 @@ if (password!=None) & (custid!=None): sid, gid, newpass, faction, uid = cursor.fetchone() if Form.has_key("accept_"+str(int(sid))): update = db.cursor() - update.execute("INSERT into transfers (subscription, src, dst, reason) values ("+str(int(sid))+", "+str(int(uid))+", "+str(int(custid))+", ''STANDIN')") + update.execute("INSERT into transfers (subscription, src, dst, reason) values ("+str(int(sid))+", "+str(int(uid))+", "+str(int(custid))+", 'STANDIN')") update.execute("UPDATE subscriptions set user=" + str(int(custid)) + ", status='ACTIVE' where id=" + str(int(sid))) output=output+"Die Partei " + faction + " wurde Dir überschrieben. Eine Email mit dem Passwort und weiteren Hinweisen ist unterwegs zu Dir.
" server=smtplib.SMTP(smtpserver)