diff options
Diffstat (limited to 'packages/meshbay-node/src/meshbay_node/roster.py')
| -rw-r--r-- | packages/meshbay-node/src/meshbay_node/roster.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/meshbay-node/src/meshbay_node/roster.py b/packages/meshbay-node/src/meshbay_node/roster.py index a50dd3e..c78281b 100644 --- a/packages/meshbay-node/src/meshbay_node/roster.py +++ b/packages/meshbay-node/src/meshbay_node/roster.py @@ -915,6 +915,6 @@ def write_code_file(data_dir: Path, code: str, expires_at: str, path = data_dir / name path.parent.mkdir(parents=True, exist_ok=True) from meshbay_node.platform import chmod_private - path.write_text(f"{code}\nexpires {expires_at}\n") + path.write_text(f"{code}\nexpires {expires_at}\n", encoding="utf-8", newline="\n") chmod_private(path) return path |