From 27dc2bb89f9287aaf4a22834374451e61475c6f9 Mon Sep 17 00:00:00 2001 From: moculus Date: Mon, 10 Nov 2008 20:04:14 +0000 Subject: [PATCH] bug --HG-- branch : pmacs2 --- util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.py b/util.py index f9f8dc1..1e0cf4b 100644 --- a/util.py +++ b/util.py @@ -42,7 +42,7 @@ def dump(x): return '%s: %r' % (x, d) def get_margin_limit(w, def_limit=80): - lname = '%s.margin' % w.mode.name() + lname = '%s.margin' % w.mode.name().lower() if lname in w.application.config: return w.application.config[lname] else: