fixing write

This commit is contained in:
Gabriel Mermelstein 2024-01-02 17:49:49 +01:00
parent e19252a524
commit 4a7cec69ea
No known key found for this signature in database
GPG Key ID: 306734DDCE542DCD

View File

@ -30,9 +30,8 @@ proc createAppKeystore*(path: string,
jsonKeystore.toUgly(%keystore)
try:
writeFile(path, jsonKeystore)
# We separate keystores with separator
writeFile(path, separator)
writeFile(path, jsonKeystore & separator)
# We separate keystores with separator
ok()
except CatchableError:
err(AppKeystoreError(kind: KeystoreOsError,