def cant_sell_equipped_weapon(self, keys, *args):
        dialogue = ["You can't sell an equipped weapon."]
        self.dialogue_box = self.make_dialogue_box(dialogue, 0)

        if keys[pg.K_SPACE] and self.allow_input:
            self.state = 'buysell'
            self.allow_input = False
            self.notify(c.CLICK2)

        if not keys[pg.K_SPACE]:
            self.allow_input = True
I am called after the options are parsed.
dataset/ETHPy150Open justinmeister/The-Stolen-Crown-RPG/data/shopgui.py/Gui.cant_sell_equipped_weapon--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/usage.py/Options.postOptions