From d8c4e2a72ed3787e06abe26eebf005f2d6bbc264 Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 15 Aug 2016 17:54:43 -0400 Subject: [PATCH] whoops --- lbrynet/core/LBRYMetadata.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lbrynet/core/LBRYMetadata.py b/lbrynet/core/LBRYMetadata.py index ca6a063f1..33b5e3a5c 100644 --- a/lbrynet/core/LBRYMetadata.py +++ b/lbrynet/core/LBRYMetadata.py @@ -116,15 +116,15 @@ class Validator(dict): @cmd(IF_KEY) def _if_key(self, rx_value, key, if_true, if_else): if key in rx_value: - self._handle(if_true, rx_value) - self._handle(if_else, rx_value) + return self._handle(if_true, rx_value) + return self._handle(if_else, rx_value) @cmd(IF_VAL) def _if_val(self, rx_value, key, val, if_true, if_else): if key in rx_value: if rx_value[key] == val: - self._handle(if_true, rx_value) - self._handle(if_else, rx_value) + return self._handle(if_true, rx_value) + return self._handle(if_else, rx_value) @cmd(LOAD) def _load(self, rx_value, key, value):