From: kaliko Date: Tue, 16 Dec 2014 22:42:08 +0000 (+0100) Subject: Force lower case for UUIDs, instead of upper case! X-Git-Tag: 0.13.0~10 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=f614be482ffd50db26939583fd43e8708c175b95;p=mpd-sima.git Force lower case for UUIDs, instead of upper case! --- diff --git a/sima/lib/meta.py b/sima/lib/meta.py index 5bf1e5f..5c439c5 100644 --- a/sima/lib/meta.py +++ b/sima/lib/meta.py @@ -69,7 +69,7 @@ class Meta: if 'mbid' in kwargs and kwargs.get('mbid'): try: is_uuid4(kwargs.get('mbid')) - self.__mbid = kwargs.pop('mbid').upper() + self.__mbid = kwargs.pop('mbid').lower() except WrongUUID4: self.log.warning('Wrong mbid {}:{}'.format(self.__name, kwargs.get('mbid')))