Skip to content

Commit

Permalink
Update check_yaml() comment (ultralytics#4713)
Browse files Browse the repository at this point in the history
* Update `check_yaml()` comment

* Cleanup
  • Loading branch information
glenn-jocher authored and CesarBazanAV committed Sep 29, 2021
1 parent 65a8b9c commit 5b1d68d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def check_suffix(file='yolov5s.pt', suffix=('.pt',), msg=''):


def check_yaml(file, suffix=('.yaml', '.yml')):
# Check YAML file(s) for acceptable suffixes
# Search/download YAML file (if necessary) and return path, checking suffix
return check_file(file, suffix)


Expand Down

0 comments on commit 5b1d68d

Please sign in to comment.