diff --git a/utils/general.py b/utils/general.py index bab0a5d9ab34..22181d3faeb9 100755 --- a/utils/general.py +++ b/utils/general.py @@ -316,7 +316,6 @@ def check_git_status(repo='ultralytics/yolov5'): msg = f', for updates see {url}' s = colorstr('github: ') # string assert Path('.git').exists(), s + 'skipping check (not a git repository)' + msg - assert not is_docker(), s + 'skipping check (Docker image)' + msg assert check_online(), s + 'skipping check (offline)' + msg splits = re.split(pattern=r'\s', string=check_output('git remote -v', shell=True).decode())