From ff2a6c827c13064ad4d5ac30c0afd15bb041c82d Mon Sep 17 00:00:00 2001 From: Holger Nahrstaedt <holger@nahrstaedt.de> Date: Fri, 16 Feb 2018 20:09:09 +0100 Subject: [PATCH] fix again --- steempy/transactionbuilder.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/steempy/transactionbuilder.py b/steempy/transactionbuilder.py index e450b72e..ee371ee8 100644 --- a/steempy/transactionbuilder.py +++ b/steempy/transactionbuilder.py @@ -100,6 +100,8 @@ class TransactionBuilder(dict): """ assert permission in ["active", "owner", "posting"], "Invalid permission" account = Account(account, steem_instance=self.steem) + if permission not in account: + account = Account(account, steem_instance=self.steem) assert permission in account, "Could not access permission" required_treshold = account[permission]["weight_threshold"] -- GitLab