From 5ed5f525edad87c3823993393dabbc78f4d4bb2f Mon Sep 17 00:00:00 2001 From: Andrei Date: Fri, 14 Apr 2017 15:08:18 -0700 Subject: [PATCH] voice - only return metadata in property if we have metadata set --- disco/voice/playable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disco/voice/playable.py b/disco/voice/playable.py index ee9437b..2dbd6f7 100644 --- a/disco/voice/playable.py +++ b/disco/voice/playable.py @@ -46,7 +46,7 @@ class BaseUtil(object): @property def metadata(self): - return self._metadata + return getattr(self, '_metadata', None) @metadata.setter def metadata(self, value):