Skip to content

Commit

Permalink
Merge 90df4ef into 9c27e7d
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Nov 29, 2018
2 parents 9c27e7d + 90df4ef commit 2973af1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trimesh/io/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,9 +458,9 @@ def parse_file_args(file_obj,
file_type = 'json'
elif 'https://' in file_obj or 'http://' in file_obj:
# we've been passed a URL so retrieve it
raise ValueError('use load_remote to load URL!')
raise ValueError('use load_remote to load URL: %s' % file_obj)
elif file_type is None:
raise ValueError('string is not a file!')
raise ValueError('string is not a file: %s' % file_obj)

if file_type is None:
file_type = file_obj.__class__.__name__
Expand Down

0 comments on commit 2973af1

Please sign in to comment.