From ef2d005957104169d27bbcddd2830bd9a0ebdba5 Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Sat, 11 Dec 2021 16:16:50 +0200 Subject: [PATCH] Fix #1898 --- src/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api.py b/src/api.py index dd883d9a..de220cc4 100644 --- a/src/api.py +++ b/src/api.py @@ -1134,7 +1134,7 @@ class BMRPCDispatcher(object): queryreturn = sqlQuery( "SELECT label FROM addressbook WHERE address=?", toAddress) try: - toLabel, = queryreturn[0][0] + toLabel = queryreturn[0][0] except IndexError: pass