mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-23 15:56:50 +00:00
Make GenerateFancyCaptchas.php execute captcha(-old)?.py via python3
Bug: T268468 Change-Id: I3d5113d1a83eea9f711ee2bb206fe9423431b887
This commit is contained in:
parent
3b477b543d
commit
3b9ab99b1d
|
@ -96,7 +96,7 @@ class GenerateFancyCaptchas extends Maintenance {
|
|||
$captchaScript = 'captcha-old.py';
|
||||
}
|
||||
|
||||
$cmd = sprintf( "python %s --key %s --output %s --count %s --dirs %s",
|
||||
$cmd = sprintf( "python3 %s --key %s --output %s --count %s --dirs %s",
|
||||
wfEscapeShellArg( dirname( __DIR__ ) . '/' . $captchaScript ),
|
||||
wfEscapeShellArg( $wgCaptchaSecret ),
|
||||
wfEscapeShellArg( $tmpDir ),
|
||||
|
|
Loading…
Reference in a new issue