from pathlib import Path from modules.logging_colors import logger if Path('../webui.py').exists(): logger.warning('\nIt looks like you are running an outdated version of ' 'the one-click-installers.\n' 'Please migrate your installation following the instructions here:\n' 'https://')