diff options
author | lain <lain@soykaf.club> | 2019-12-04 16:35:59 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-12-04 16:35:59 +0100 |
commit | e9993acdbbd1649bbcbf3fb36581b91145fe6055 (patch) | |
tree | b78d91c904e307a504ed91a06ab718d8c694ca5c /lib/pleroma/docs/json.ex | |
parent | 1bd1f62af55e01613e6362661b36a19091c87424 (diff) | |
parent | 228bf4d214abe3bb62c52128d3bc145e396b174d (diff) | |
download | pleroma-e9993acdbbd1649bbcbf3fb36581b91145fe6055.tar.gz |
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel
Diffstat (limited to 'lib/pleroma/docs/json.ex')
-rw-r--r-- | lib/pleroma/docs/json.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/docs/json.ex b/lib/pleroma/docs/json.ex index 18ba01d58..f2a56d845 100644 --- a/lib/pleroma/docs/json.ex +++ b/lib/pleroma/docs/json.ex @@ -5,7 +5,7 @@ defmodule Pleroma.Docs.JSON do def process(descriptions) do config_path = "docs/generate_config.json" - with {:ok, file} <- File.open(config_path, [:write]), + with {:ok, file} <- File.open(config_path, [:write, :utf8]), json <- generate_json(descriptions), :ok <- IO.write(file, json), :ok <- File.close(file) do |