fixes no MEDIA_URL bug
Merge pull request #11 from yuce/master

trivial fix for fetch_resources