diff --git a/src/Manager/WiktionaryManager.php b/src/Manager/WiktionaryManager.php index e5052325b2930f2078c5e64d91cff5cd8b482a07..3da2fcdbcefcaf43e0cd03c4d01cc1bca9e90c9b 100644 --- a/src/Manager/WiktionaryManager.php +++ b/src/Manager/WiktionaryManager.php @@ -75,6 +75,7 @@ class WiktionaryManager if ($_ENV['WIKTIONARY_TOOL'] == 'WIKSTRAKTOR') { $command = $_ENV['WIKSTRAKTOR_COMMAND'] . ' -l ' . $language . ' -w ' . $dictLanguage . ' -m "' . $word . '" -A -C 2>&1'; $result = exec($command); +// dump($output, $return_var, $command);die(); //dump($word);dump($command);dump(microtime(true)-$time_start);dump($result);die();/*Debug*/ } else { diff --git a/src/Wikstraktor/wikstraktor.py b/src/Wikstraktor/wikstraktor.py index dae797951cc2f4c20b1316b06f56d2546c7fa9b5..a9567b67423347703349130d17a873689ce0b9b0 100755 --- a/src/Wikstraktor/wikstraktor.py +++ b/src/Wikstraktor/wikstraktor.py @@ -1,4 +1,8 @@ #!/usr/bin/env python3 + +import sys +sys.path.append("C:\\Users\\Ordinateur\\AppData\\Roaming\\Python\\Python39\\site-packages") + import pywikibot import wikitextparser import importlib