]> kaliko git repositories - mpd-sima.git/commitdiff
Force lower case for UUIDs, instead of upper case!
authorkaliko <kaliko@azylum.org>
Tue, 16 Dec 2014 22:42:08 +0000 (23:42 +0100)
committerkaliko <kaliko@azylum.org>
Tue, 16 Dec 2014 22:42:08 +0000 (23:42 +0100)
sima/lib/meta.py

index 5bf1e5fbbca9c9cf93e99cb1801c25427afee101..5c439c5742df959d36f17b9488d1f0fd357db178 100644 (file)
@@ -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')))