Browse Source

voice - only return metadata in property if we have metadata set

feature/storage
Andrei 8 years ago
parent
commit
5ed5f525ed
  1. 2
      disco/voice/playable.py

2
disco/voice/playable.py

@ -46,7 +46,7 @@ class BaseUtil(object):
@property @property
def metadata(self): def metadata(self):
return self._metadata return getattr(self, '_metadata', None)
@metadata.setter @metadata.setter
def metadata(self, value): def metadata(self, value):

Loading…
Cancel
Save