From ce25e365a4d4fe05dfe99d28c9ae113d0a905900 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Wed, 20 Aug 2008 12:01:12 -0400 Subject: [PATCH] hack83 option should use getboolean(). --- config.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/config.py b/config.py index cad377b..fb0a81b 100644 --- a/config.py +++ b/config.py @@ -125,11 +125,7 @@ def getDebug(): def getHack83(): try: - debug = config.get('Server', 'hack83') - if debug.lower() == 'true': - return True - else: - return False + return config.getboolean('Server', 'hack83') except NoOptionError: return False -- 2.11.4.GIT