def _get_screenshot_paths(self, filename):
        if not filename:
            self._screenshot_index += 1
            if Util.device=='common':
                filename = (Util.platform,self._screenshot_index) % '%s-screenshot-%d.png'
            else:
                filename = '%s(%s)-screenshot-%d.png' % (Util.platform,Util.device,self._screenshot_index)
        else:
            filename = filename.replace('/', os.sep)
        logdir = self._get_log_dir()
        path = os.path.join(logdir, filename)
        link = robot.utils.get_link_path(path, logdir)
        return path, link
dataset/ETHPy150Open luisxiaomai/robotframework-anywherelibrary/src/AnywhereLibrary/base/screenshot.py/Screenshot._get_screenshot_paths/swapped operands of `%`