Merge branch '2.1.x' of dev.sourcefabric.org:airtime into 2.1.x

This commit is contained in:
Martin Konecny 2012-06-05 13:08:07 -04:00
commit c37fe4b070
22 changed files with 1213 additions and 1086 deletions

View file

@ -97,10 +97,12 @@ class AirtimeMetadata:
if value is not None:
value = unicode(value)
else:
value = unicode('');
if len(value) > 0:
self.logger.debug("Saving key '%s' with value '%s' to file", key, value)
airtime_file[self.airtime2mutagen[key]] = value
#if len(value) > 0:
self.logger.debug("Saving key '%s' with value '%s' to file", key, value)
airtime_file[self.airtime2mutagen[key]] = value
airtime_file.save()
except Exception, e: