File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ function GetHeader() {
4747 }
4848
4949 function GetProxies () {
50- $ output = shell_exec ("python3 / dashboard/swag-proxies.py " );
50+ $ output = shell_exec ("if test -f /lsiopy/bin/ python3; then /lsiopy/bin/python3 / dashboard/swag-proxies.py; else python3 /dashboard/swag-proxies.py; fi " );
5151 $ results = json_decode ($ output );
5252 $ status = "" ;
5353 $ index = 0 ;
@@ -100,7 +100,7 @@ function GetProxies() {
100100 }
101101
102102 function GetF2B () {
103- $ output = shell_exec ("python3 / dashboard/swag-f2b.py " );
103+ $ output = shell_exec ("if test -f /lsiopy/bin/ python3; then /lsiopy/bin/python3 / dashboard/swag-f2b.py; else python3 /dashboard/swag-f2b.py; fi " );
104104 $ jails = json_decode ($ output , true );
105105 $ status = "" ;
106106 $ index = 0 ;
You can’t perform that action at this time.
0 commit comments