Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, *args, **kargs):
Message.__init__(self, *args, **kargs)
config = os.getenv('CONFIG', '/etc/slacker/config.yml')
print(config)
if not os.path.exists(config):
print('Config doesn\'t exists!')
exit(1)
self.config = yaml.load(open(config))