Skip to content

Commit 51ae8ca

Browse files
committed
Fixed source path in compas_ghpython.uninstall
1 parent da6f0e6 commit 51ae8ca

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
@@ -34,6 +34,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3434
* Moved from `autopep8` to `black`
3535
* Fixed bug in `compas.utilities.linspace` for number series with high precision start and stop values.
3636
* Fixed uncentered viewbox in `Plotter.zoom_extents()`
37+
* Fixed source directory path in `compas_ghpython.uninstall` plugin.
3738

3839
### Removed
3940

src/compas_ghpython/uninstall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def after_rhino_uninstall(uninstalled_packages):
1414
if 'compas_ghpython' not in uninstalled_packages:
1515
return []
1616

17-
srcdir = os.path.join(os.path.dirname(__file__), 'components')
17+
srcdir = os.path.join(os.path.dirname(__file__), 'components', 'ghuser')
1818
userobjects = [os.path.basename(ghuser) for ghuser in glob.glob(os.path.join(srcdir, '*.ghuser'))]
1919
uninstalled_objects = uninstall_userobjects(userobjects)
2020

0 commit comments

Comments
 (0)