tg-sync

git clone git://archive.git.mtrnord.blog/Nordgedanken/tg-sync.git
Log | Files | Refs | README

commit 7d2fa2a5ff00f5e2cf8eda57f41710851e0c1d80
parent 6a276bd800d3ffb3d3d064387b3608d831a73989
Author: Marcel Radzio <mtrnord1@gmail.com>
Date:   Mon, 20 Feb 2017 21:51:04 +0100

add missing not in if

Diffstat:
Mbot.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bot.py b/bot.py @@ -109,7 +109,7 @@ if __name__ == "__main__": args = parser.parse_args() if os.path.isdir("config"): - if not (config_class.get_by_path(['SLACK_API_KEY'])) or (config_class.get_by_path(['TELEGRAM_API_KEY'])): + if not (config_class.get_by_path(['SLACK_API_KEY'])) or not (config_class.get_by_path(['TELEGRAM_API_KEY'])): sys.exit('Please set Api Keys') #Import internal Modules that are needed from bot import Htelegram