aboutsummaryrefslogtreecommitdiffstats
path: root/config.py
blob: d0dc061bf9f3ca6a7dac09cc6201a7a430576e09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# -*- coding: utf-8 -*-
import json

with open("config.json", "r", encoding="utf-8") as file:
    config = json.load(file)


class Config(object):
    # connection arguments
    HOST = config['host']
    PORT = config['port']
    USER = config['user']
    PW = config['password']
    SID = config['server_id']

    # assignment settings
    GID = config['gid']