def _pre_create(self):
        self._calc_hash()
        self.code = validate(self.raw)
        self.raw['approved'] = has_perm(self.player, 'admin') or self.raw['approved']
dataset/ETHPy150Open genzgd/Lampost-Mud/lampost/editor/scripts.py/ScriptEditor._pre_create/operator `and` -> `or`