Skip to content

Commit

Permalink
fix script path on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Apr 5, 2020
1 parent 64acffd commit aa1c3e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/script/ScriptUtils.py
Expand Up @@ -109,7 +109,7 @@ def resetScriptFolder(folder):
# isolate "QGIS3/profiles/"
appIndex = -4
profileIndex = -3
currentSettingPath = QgsApplication.qgisSettingsDirPath()
currentSettingPath = os.path.normpath(QgsApplication.qgisSettingsDirPath())
paths = currentSettingPath.split(os.sep)
commonSettingPath = os.path.join(paths[appIndex], paths[profileIndex])

Expand Down

1 comment on commit aa1c3e1

@nyalldawson
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This broke a test -- I'll revert until you can fix the test too

Please sign in to comment.