This commit is contained in:
Donaldttt
2022-07-02 17:00:28 -04:00
parent d68eed61d3
commit e22b770bf7
+1 -6
View File
@@ -26,12 +26,7 @@ function odict(){
# self host directory
function dict(){
local api_str="http://$SERVERIP:10008/$1"
if ! hash python; then
curl "$api_str"
else
curl -s "$api_str" | python -m json.tool
fi
python $
}