CC-2926: Clicking "Choose File" in support settings to upload image

defaults to "Audio/MPEG" type in Chrome

- fixed
- extra fix: removing debugging code from api_client.py
This commit is contained in:
James 2011-10-05 11:21:13 -04:00
parent 3f495e7532
commit b90b69ebde
2 changed files with 1 additions and 1 deletions

View file

@ -431,7 +431,6 @@ class AirTimeApiClient(ApiClientInterface):
url = url.replace("%%fileid%%", str(response[u'id']))
url = url.replace("%%showinstanceid%%", str(md['MDATA_KEY_TRACKNUMBER']))
url = url.replace("%%api_key%%", self.config["api_key"])
logger.debug(url)
req = urllib2.Request(url)
response = urllib2.urlopen(req).read()