diff --git a/GitHub/plugin.py b/GitHub/plugin.py index 334186f..2f05b24 100644 --- a/GitHub/plugin.py +++ b/GitHub/plugin.py @@ -65,7 +65,8 @@ class GithubCallback(httpserver.SupyHTTPServerCallback): You shouldn't be there, this subfolder is not for you. Go back to the index and try out other plugins (if any).""") def doPost(self, handler, path, form): - if not handler.address_string().endswith('.rs.github.com'): + if not handler.address_string().endswith('.rs.github.com') and \ + not handler.address_string().endswith('.cloud-ips.com'): log.warning("""'%s' tryed to act as a web hook for Github, but is not GitHub.""" % handler.address_string()) else: diff --git a/SupySandbox/config.py b/SupySandbox/config.py index 748065c..e7f124f 100644 --- a/SupySandbox/config.py +++ b/SupySandbox/config.py @@ -41,9 +41,9 @@ def configure(advanced): conf.registerPlugin('SupySandbox', True) -PySandbox = conf.registerPlugin('SupySandbox') +SupySandbox = conf.registerPlugin('SupySandbox') # This is where your configuration variables (if any) should go. For example: -# conf.registerGlobalValue(PySandbox, 'someConfigVariableName', +# conf.registerGlobalValue(SupySandbox, 'someConfigVariableName', # registry.Boolean(False, """Help for someConfigVariableName.""")) diff --git a/WebStats/plugin.py b/WebStats/plugin.py index 28109d8..d5b8c52 100644 --- a/WebStats/plugin.py +++ b/WebStats/plugin.py @@ -58,7 +58,10 @@ try: class WebStatsInternationalization(_PluginInternationalization): def __init__(self): self.name = 'WebStats' - self.loadLocale(conf.supybot.language()) + try: + self.loadLocale(conf.supybot.language()) + except: + pass _ = WebStatsInternationalization() except ImportError: _ = lambda x:x