From 769bc2e36e60e74195b90db36abfc0bea8872930 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Thu, 19 Apr 2018 14:34:49 -0400 Subject: [PATCH] Revert "elif" This reverts commit c3e047a2aa31fa82894f004aaabf351899fdfba4. --- lbrynet/core/Wallet.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lbrynet/core/Wallet.py b/lbrynet/core/Wallet.py index e6d2407c6..64ab317de 100644 --- a/lbrynet/core/Wallet.py +++ b/lbrynet/core/Wallet.py @@ -414,10 +414,11 @@ class Wallet(object): def save_claim(self, claim_info): if 'value' in claim_info: yield self.storage.save_claim(claim_info) - elif 'certificate' in claim_info: - yield self.storage.save_claim(claim_info['certificate']) - elif 'claim' in claim_info: - yield self.storage.save_claim(claim_info['claim']) + else: + if 'certificate' in claim_info: + yield self.storage.save_claim(claim_info['certificate']) + if 'claim' in claim_info: + yield self.storage.save_claim(claim_info['claim']) @defer.inlineCallbacks def resolve(self, *uris, **kwargs):