Remove unused global site_config
This commit is contained in:
parent
7d718fe54f
commit
e1d4816e55
2 changed files with 0 additions and 4 deletions
|
@ -1,3 +1 @@
|
|||
from core import *
|
||||
|
||||
site_config = {}
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue