Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
WindEnergyToolbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
toolbox
WindEnergyToolbox
Commits
dae19d5f
Commit
dae19d5f
authored
7 months ago
by
Rasmus Sode Lund
Browse files
Options
Downloads
Patches
Plain Diff
added escape of backslash for windows path destinations in installer
parent
78e69801
No related branches found
No related tags found
1 merge request
!275
added escape of backslash for windows path destinations in installer
Pipeline
#61578
passed with warnings
7 months ago
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wetb/utils/installer.py
+4
-0
4 additions, 0 deletions
wetb/utils/installer.py
with
4 additions
and
0 deletions
wetb/utils/installer.py
+
4
−
0
View file @
dae19d5f
...
...
@@ -44,6 +44,10 @@ def install_wind_tool(
destination : str, optional
Destination path for the download / installation. If None, the destination is set to cwd. By default None
"""
# Escape backslash if windowspath is given
destination
=
Path
(
destination
.
encode
(
'
unicode_escape
'
).
decode
()).
as_posix
()
if
tool
is
None
:
print
(
"
No tool has been given for install. Nothing has been installed.
"
)
return
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment