detect cleanup

This commit is contained in:
Glenn Jocher 2020-04-20 16:47:28 -07:00
parent cdb69d5929
commit 8b45360e28
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ def detect(save_img=False):
if save_txt or save_img:
print('Results saved to %s' % os.getcwd() + os.sep + out)
if platform == 'darwin': # MacOS
os.system('open ' + out + ' ' + save_path)
os.system('open ' + save_path)
print('Done. (%.3fs)' % (time.time() - t0))