Skip to content

Commit a03683e

Browse files
authored
Merge pull request #1003 from compas-dev/github-raw
Fix github raw path
2 parents 8ef4acc + b09afb1 commit a03683e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3333
* Changed `compas_ghpython.artists.MeshArtist.draw_vertexlabels` to use the colors of the vertex color dict.
3434
* Changed `compas_ghpython.artists.MeshArtist.draw_edgelabels` to use the colors of the edge color dict.
3535
* Changed `compas_ghpython.artists.MeshArtist.draw_facelabels` to use the colors of the face color dict.
36+
* Changed raw github content path for `compas.get`.
3637

3738
### Removed
3839

src/compas/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def get(filename):
212212
if os.path.exists(localpath):
213213
return localpath
214214
else:
215-
return "https://github.com/compas-dev/compas/raw/main/samples/{}".format(filename)
215+
return "https://raw.githubusercontent.com/compas-dev/compas/main/src/compas/data/samples/{}".format(filename)
216216

217217

218218
def get_bunny(localstorage=None):

0 commit comments

Comments
 (0)