From 7e28f36dc3e77bcb2fcb2938ebeb544e2aea9992 Mon Sep 17 00:00:00 2001 From: sqozz Date: Thu, 25 Feb 2021 10:34:43 +0100 Subject: [PATCH] Fix call_stats return value --- pylinphone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylinphone.py b/pylinphone.py index ddf4d61..b9d9ac2 100644 --- a/pylinphone.py +++ b/pylinphone.py @@ -149,7 +149,7 @@ class LinphoneCommunicationSocket(): pass stats[stat_type].update({key: value}) - return status + return stats else: raise RuntimeError(answer["error"])