Skip to content
Snippets Groups Projects
Commit 9d6577aa authored by pfleu's avatar pfleu
Browse files

Fix wikstraktor en local avec Wamp. Modif wikstraktor.py ajout lien vers sources python

parent d74c771f
No related branches found
No related tags found
No related merge requests found
...@@ -75,6 +75,7 @@ class WiktionaryManager ...@@ -75,6 +75,7 @@ class WiktionaryManager
if ($_ENV['WIKTIONARY_TOOL'] == 'WIKSTRAKTOR') { if ($_ENV['WIKTIONARY_TOOL'] == 'WIKSTRAKTOR') {
$command = $_ENV['WIKSTRAKTOR_COMMAND'] . ' -l ' . $language . ' -w ' . $dictLanguage . ' -m "' . $word . '" -A -C 2>&1'; $command = $_ENV['WIKSTRAKTOR_COMMAND'] . ' -l ' . $language . ' -w ' . $dictLanguage . ' -m "' . $word . '" -A -C 2>&1';
$result = exec($command); $result = exec($command);
// dump($output, $return_var, $command);die();
//dump($word);dump($command);dump(microtime(true)-$time_start);dump($result);die();/*Debug*/ //dump($word);dump($command);dump(microtime(true)-$time_start);dump($result);die();/*Debug*/
} else { } else {
......
#!/usr/bin/env python3 #!/usr/bin/env python3
import sys
sys.path.append("C:\\Users\\Ordinateur\\AppData\\Roaming\\Python\\Python39\\site-packages")
import pywikibot import pywikibot
import wikitextparser import wikitextparser
import importlib import importlib
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment