CVS: tmda-cgi LocalConfig.py,1.7,1.8
Jim Ramsay <[email protected]>
| Newsgroups | gmane.mail.spam.tmda.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/tmda/tmda-cgi
In directory sc8-pr-cvs1:/tmp/cvs-serv27497
Modified Files:
LocalConfig.py
Log Message:
Check case-insensitively this option
Index: LocalConfig.py
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/LocalConfig.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- LocalConfig.py 13 Jun 2003 21:50:09 -0000 1.7
+++ LocalConfig.py 15 Dec 2003 16:19:38 -0000 1.8
@@ -267,7 +267,7 @@
# Saving with text method?
if (PVars["LocalConfig"] == "Text") and Form.has_key("subcmd") and \
(Form["subcmd"].value == "save") and \
- (PVars[("NoOverride", "MayEditLocalConfig")] == "Yes"):
+ (PVars[("NoOverride", "MayEditLocalConfig")][0].lower() == "y"):
try:
# Make sure the list is properly formatted
Config = re.sub("\r\n", "\n", Form["config"].value)