summaryrefslogtreecommitdiff
path: root/bin/taler-deployment
diff options
context:
space:
mode:
Diffstat (limited to 'bin/taler-deployment')
-rwxr-xr-xbin/taler-deployment2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/taler-deployment b/bin/taler-deployment
index e3ce6bb..54b30bb 100755
--- a/bin/taler-deployment
+++ b/bin/taler-deployment
@@ -690,7 +690,7 @@ def bootstrap() -> None:
path_list.insert(0, deployment_path)
if not os.path.isfile(TOKEN_FILE):
- with open(TOKEN_FILE) as f:
+ with open(TOKEN_FILE, "w") as f:
f.write(generate_apitoken())
with (home / "activate").open("w") as f: