def competition_mode(self, on):
    if on:
        self.config['use_salt'] = False
        self.config['cleanup'] = False
    else:
        self.config['use_salt'] = True
        self.config['cleanup'] = True
def competition_mode(self, on):
    if on:
        self.config['use_salt'] = False
        self.config['cleanup'] = False
    else:
        self.config['use_salt'] = True
        self.config['cleanup'] = True