jenkins-bot submitted this change.

View Change

Approvals: JJMC89: Looks good to me, approved Xqt: Looks good to me, approved jenkins-bot: Verified
[BUGFIX] Fix disolving script_paths for site-package

Bug: T320530
Change-Id: I0625e5fa185b10bad4dc01fc48ee2e0000b32693
---
M pwb.py
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pwb.py b/pwb.py
index b1694de..513f876 100755
--- a/pwb.py
+++ b/pwb.py
@@ -399,7 +399,7 @@
return None

if site_package: # pragma: no cover
- script_paths = [_pwb_dir]
+ script_paths = [''] # only use the root as path
else:
script_paths = [
'scripts.userscripts',

To view, visit change 841902. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I0625e5fa185b10bad4dc01fc48ee2e0000b32693
Gerrit-Change-Number: 841902
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: JJMC89 <JJMC89.Wikimedia@gmail.com>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged