aboutsummaryrefslogtreecommitdiffstats
path: root/local/handler
diff options
context:
space:
mode:
authorkongr45gpen <electrovesta@gmail.com>2016-01-21 17:15:39 +0200
committerkongr45gpen <electrovesta@gmail.com>2016-01-21 17:15:39 +0200
commit042bf88ca06f04d78bd6c7506b349934df291d31 (patch)
tree261656a2dc2e4f0821077e7e0264fb2856b90cbf /local/handler
parentf352d99c68ecea70b5599b50c3626636d22b845a (diff)
downloadsupybot_github-042bf88ca06f04d78bd6c7506b349934df291d31.tar.gz
supybot_github-042bf88ca06f04d78bd6c7506b349934df291d31.tar.bz2
supybot_github-042bf88ca06f04d78bd6c7506b349934df291d31.zip
Allow configuring the type of brackets to use
Diffstat (limited to 'local/handler')
-rw-r--r--local/handler/GithubHandler.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/local/handler/GithubHandler.py b/local/handler/GithubHandler.py
index d0835dc..b739769 100644
--- a/local/handler/GithubHandler.py
+++ b/local/handler/GithubHandler.py
@@ -68,6 +68,7 @@ class GithubHandler(BaseHTTPServer.BaseHTTPRequestHandler):
and configValue('passcode').strip().lower() != 'false' \
and configValue('passcode').strip().lower() != 'null' \
and configValue('passcode').strip().lower() != 'no'
+ brackets = parseBrackets(configValue('brackets'))
resetConfigOverrides()
@@ -109,7 +110,7 @@ class GithubHandler(BaseHTTPServer.BaseHTTPRequestHandler):
log.error("The '%s' theme was not found" % themeName)
klass = themes.DefaultTheme.DefaultTheme
- theme = klass()
+ theme = klass(brackets)
#
# Handle different event types

© 2014-2024 Faster IT GmbH | imprint | privacy policy