import json
import os


class Settings:
    def __init__(self):
        self.file = os.path.join("resources", "settings.json")
        if os.path.exists(self.file):
            with open(self.file, "r") as f:
                self.values = json.load(f)
        else:
            self.values = {}

    def get(self, key, default):
        return self.values.get(key, default)

    def set(self, key, value):
        self.values[key] = value

    def save(self):
        with open(self.file, "w") as f:
            json.dump(self.values, f, indent=4)

bb0134f9f856f0267a19042d18ef226c1401cd2c
<mask token>


class Settings:
    <mask token>

    def get(self, key, default):
        return self.values.get(key, default)

    def set(self, key, value):
        self.values[key] = value
    <mask token>

<mask token>


class Settings:

    def __init__(self):
        self.file = os.path.join('resources', 'settings.json')
        if os.path.exists(self.file):
            with open(self.file, 'r') as f:
                self.values = json.load(f)
        else:
            self.values = {}

    def get(self, key, default):
        return self.values.get(key, default)

    def set(self, key, value):
        self.values[key] = value
    <mask token>

<mask token>


class Settings:

    def __init__(self):
        self.file = os.path.join('resources', 'settings.json')
        if os.path.exists(self.file):
            with open(self.file, 'r') as f:
                self.values = json.load(f)
        else:
            self.values = {}

    def get(self, key, default):
        return self.values.get(key, default)

    def set(self, key, value):
        self.values[key] = value

    def save(self):
        with open(self.file, 'w') as f:
            json.dump(self.values, f, indent=4)

import json
import os


class Settings:

    def __init__(self):
        self.file = os.path.join('resources', 'settings.json')
        if os.path.exists(self.file):
            with open(self.file, 'r') as f:
                self.values = json.load(f)
        else:
            self.values = {}

    def get(self, key, default):
        return self.values.get(key, default)

    def set(self, key, value):
        self.values[key] = value

    def save(self):
        with open(self.file, 'w') as f:
            json.dump(self.values, f, indent=4)

import json
import os


class Settings:
    def __init__(self):
        self.file = os.path.join("resources", "settings.json")
        if os.path.exists(self.file):
            with open(self.file, "r") as f:
                self.values = json.load(f)
        else:
            self.values = {}

    def get(self, key, default):
        return self.values.get(key, default)

    def set(self, key, value):
        self.values[key] = value

    def save(self):
        with open(self.file, "w") as f:
            json.dump(self.values, f, indent=4)
