Add sync flag to config
This commit is contained in:
parent
78f916db5d
commit
c6304b10bf
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class Config(object):
|
||||||
self.max_messages = max_messages
|
self.max_messages = max_messages
|
||||||
self.gitlab_token = gitlab_token
|
self.gitlab_token = gitlab_token
|
||||||
self.twitter = twitter
|
self.twitter = twitter
|
||||||
self.sync = sync or os.environ("SYNC_COMMANDS", False)
|
self.sync = sync or os.environ.get("SYNC_COMMANDS", False)
|
||||||
self.__db_loaded = False
|
self.__db_loaded = False
|
||||||
self.__mongo = MongoClient(**self.mongo["connect"])
|
self.__mongo = MongoClient(**self.mongo["connect"])
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue