CC-3788: In Media Monitor convert to UTF-8 "just" before passing to urlencode, not before that.
-fixed
This commit is contained in:
parent
a5ec83ebbd
commit
f769472252
2 changed files with 12 additions and 23 deletions
|
@ -221,12 +221,4 @@ class AirtimeMetadata:
|
|||
elif "vorbis" in md['MDATA_KEY_MIME']:
|
||||
md['MDATA_KEY_FTYPE'] = "audioclip"
|
||||
|
||||
#do this so object can be urlencoded properly.
|
||||
for key in md.keys():
|
||||
|
||||
if (isinstance(md[key], basestring)):
|
||||
#self.logger.info("Converting md[%s] = '%s' ", key, md[key])
|
||||
md[key] = api_client.encode_to(md[key], 'utf-8')
|
||||
#self.logger.info("Converting complete: md[%s] = '%s' ", key, md[key])
|
||||
|
||||
return md
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue