From e1d4816e5537cf44ae44c4eff9d2f7a2a95f4f96 Mon Sep 17 00:00:00 2001 From: Jeff Ammons Date: Sun, 17 Apr 2016 18:29:17 -0700 Subject: [PATCH] Remove unused global site_config --- rtmbot/__init__.py | 2 -- rtmbot/core.py | 2 -- 2 files changed, 4 deletions(-) diff --git a/rtmbot/__init__.py b/rtmbot/__init__.py index 56b4646..5af2406 100644 --- a/rtmbot/__init__.py +++ b/rtmbot/__init__.py @@ -1,3 +1 @@ from core import * - -site_config = {} diff --git a/rtmbot/core.py b/rtmbot/core.py index 9eaf804..9f991b3 100755 --- a/rtmbot/core.py +++ b/rtmbot/core.py @@ -14,8 +14,6 @@ class RtmBot(object): def __init__(self, config): # set the config object self.config = config - global site_config - site_config = self.config # set slack token self.token = config.get('SLACK_TOKEN')