diff --git a/scripts/cgi-bin/standin.py b/scripts/cgi-bin/standin.py index acffe9e47..00c3434de 100755 --- a/scripts/cgi-bin/standin.py +++ b/scripts/cgi-bin/standin.py @@ -15,6 +15,7 @@ Errors = "" db = MySQLdb.connect(db=dbname) smtpserver='localhost' notify='accounts@vinyambar.de' +minnmr=0 # define a new function called Display # it takes one parameter - a string to Display @@ -56,7 +57,7 @@ def ShowPage(): while results>0: results=results-1 gid, game, faction, lastturn, sid, race, info = cursor.fetchone() - if lastturn'+ race + ''+ game + '' + str(int(maxturn[gid]-lastturn)) + '' + info + '' diff --git a/scripts/cgi-bin/vinyambar-register.py b/scripts/cgi-bin/vinyambar-register.py index 702f6aeec..3f25ad4e0 100755 --- a/scripts/cgi-bin/vinyambar-register.py +++ b/scripts/cgi-bin/vinyambar-register.py @@ -12,7 +12,7 @@ from whrandom import choice # specify the filename of the template file scripturl="http://eressea.upb.de/~enno/cgi-bin/vinyambar-register.py" HTMLTemplate = "vinyambar.html" -MailTemplate="register.mail" +MailTemplate="vinyambar-register.mail" DefaultTitle = "Vinyambar Anmeldung" dbname = "vinyambar" From = "accounts@vinyambar.de"