import json
import os

import yaml


class Config:
    def __init__(self):

        try:
            path = os.path.join(os.path.dirname(__file__), "../config.yml")
            if not os.path.exists(path):
                raise IOError
        except IOError as ex:
            print(f"error locating config YML\n{ex}")
            exit(1)

        with open(path, "r") as yml:
            self.yaml = yaml.load(yml, Loader=yaml.Loader)
            self.__dict__.update(self.yaml)

    def __str__(self):

        return json.dumps(self.yaml)


config = Config()

97b5128af3461e3a74a9f042448f060b9cbde9eb
<mask token>


class Config:

    def __init__(self):
        try:
            path = os.path.join(os.path.dirname(__file__), '../config.yml')
            if not os.path.exists(path):
                raise IOError
        except IOError as ex:
            print(f'error locating config YML\n{ex}')
            exit(1)
        with open(path, 'r') as yml:
            self.yaml = yaml.load(yml, Loader=yaml.Loader)
            self.__dict__.update(self.yaml)
    <mask token>


<mask token>

<mask token>


class Config:

    def __init__(self):
        try:
            path = os.path.join(os.path.dirname(__file__), '../config.yml')
            if not os.path.exists(path):
                raise IOError
        except IOError as ex:
            print(f'error locating config YML\n{ex}')
            exit(1)
        with open(path, 'r') as yml:
            self.yaml = yaml.load(yml, Loader=yaml.Loader)
            self.__dict__.update(self.yaml)

    def __str__(self):
        return json.dumps(self.yaml)


<mask token>

<mask token>


class Config:

    def __init__(self):
        try:
            path = os.path.join(os.path.dirname(__file__), '../config.yml')
            if not os.path.exists(path):
                raise IOError
        except IOError as ex:
            print(f'error locating config YML\n{ex}')
            exit(1)
        with open(path, 'r') as yml:
            self.yaml = yaml.load(yml, Loader=yaml.Loader)
            self.__dict__.update(self.yaml)

    def __str__(self):
        return json.dumps(self.yaml)


config = Config()

import json
import os
import yaml


class Config:

    def __init__(self):
        try:
            path = os.path.join(os.path.dirname(__file__), '../config.yml')
            if not os.path.exists(path):
                raise IOError
        except IOError as ex:
            print(f'error locating config YML\n{ex}')
            exit(1)
        with open(path, 'r') as yml:
            self.yaml = yaml.load(yml, Loader=yaml.Loader)
            self.__dict__.update(self.yaml)

    def __str__(self):
        return json.dumps(self.yaml)


config = Config()

import json
import os

import yaml


class Config:
    def __init__(self):

        try:
            path = os.path.join(os.path.dirname(__file__), "../config.yml")
            if not os.path.exists(path):
                raise IOError
        except IOError as ex:
            print(f"error locating config YML\n{ex}")
            exit(1)

        with open(path, "r") as yml:
            self.yaml = yaml.load(yml, Loader=yaml.Loader)
            self.__dict__.update(self.yaml)

    def __str__(self):

        return json.dumps(self.yaml)


config = Config()
