jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/582964 )
Change subject: [bugfix] use path's stem of filename ......................................................................
[bugfix] use path's stem of filename
Change-Id: I4dee6096262dae554e636f8c3241087b5cc601b5 --- M pwb.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Dvorapa: Looks good to me, approved jenkins-bot: Verified
diff --git a/pwb.py b/pwb.py index 228c307..dc9b554 100755 --- a/pwb.py +++ b/pwb.py @@ -359,7 +359,7 @@ if check_modules(filename) or '-help' in args: run_python_file(filename, [filename] + args, - [Path(relative_filename).stem] + argvu[1:], + [Path(filename).stem] + argvu[1:], file_package) return True
pywikibot-commits@lists.wikimedia.org