Changeset View
Changeset View
Standalone View
Standalone View
lib/lsg_irc/txt_plugin/markov_py_markovify.ex
Context not available. | |||||
end | end | ||||
defp script() do | defp script() do | ||||
default_script = to_string(:code.priv_dir(:lsg)) <> "/irc/txt/markovify.py" | default_script = to_string(:code.priv_dir(:nola)) <> "/irc/txt/markovify.py" | ||||
env = Application.get_env(:lsg, Nola.IRC.TxtPlugin, []) | env = Application.get_env(:nola, Nola.IRC.TxtPlugin, []) | ||||
|> Keyword.get(:py_markovify, []) | |> Keyword.get(:py_markovify, []) | ||||
{Keyword.get(env, :python, "python3"), Keyword.get(env, :script, default_script)} | {Keyword.get(env, :python, "python3"), Keyword.get(env, :script, default_script)} | ||||
Context not available. |