def set(self, value):
        profile_path = join_path(self.path, self.user.username + '.txt')
        with self.lock:
            try:
                with open(unicode(profile_path), 'w') as fout:
                    fout.write(value)
            except IOError as e:
                error_msg = str(e) % 'Failed setting game profile: %s'
                LOG.error(error_msg)
                raise GameProfileError(error_msg)
        return True
dataset/ETHPy150Open turbulenz/turbulenz_local/turbulenz_local/models/apiv1/gameprofile.py/GameProfile.set/swapped operands of `%`